summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>1999-09-30 20:03:32 +0000
committerAndrei Zmievski <andrei@php.net>1999-09-30 20:03:32 +0000
commit97f105e45021c19c5dbe87de23b19b9dfd415f65 (patch)
tree5624eaf2fa3a89966ccc77dbf48fad4c97c080e1
parentd926d95066db34b2b89403678dcb761e47bdd6aa (diff)
downloadphp-git-97f105e45021c19c5dbe87de23b19b9dfd415f65.tar.gz
Fix nl2br crash.
-rw-r--r--ext/standard/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c
index b382cc4d4e..54343085fe 100644
--- a/ext/standard/string.c
+++ b/ext/standard/string.c
@@ -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;
}