1
0
mirror of https://github.com/php/php-src.git synced 2026-04-03 22:22:18 +02:00

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;
}