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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user