Fix nl2br crash.

This commit is contained in:
Andrei Zmievski 1999-09-30 20:03:32 +00:00
parent d926d95066
commit 97f105e450

View File

@ -1755,7 +1755,7 @@ PHP_FUNCTION(nl2br)
{
pval **str;
if (ARG_COUNT(ht)!=1 || getParametersEx(ht, 1, &str)==FAILURE) {
if (ARG_COUNT(ht)!=1 || getParametersEx(1, &str)==FAILURE) {
WRONG_PARAM_COUNT;
}