mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
Fix nl2br crash.
This commit is contained in:
parent
d926d95066
commit
97f105e450
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user