diff options
author | Andrey Hristov <andrey@php.net> | 2002-10-02 18:13:56 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2002-10-02 18:13:56 +0000 |
commit | b2d93b67fc26b5dbba0d444107ef84eb6409c6e6 (patch) | |
tree | 4d7f2d18253d2990dd87d4e944e3394cea57a1f5 | |
parent | f02b1507dc38e783d6e6457191a8034a66c01f9b (diff) | |
download | php-git-b2d93b67fc26b5dbba0d444107ef84eb6409c6e6.tar.gz |
Ws fix. Forgot to add this in the previous commit.
-rw-r--r-- | ext/standard/string.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c index 669009b629..a5dff3ed8f 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -450,10 +450,9 @@ PHP_FUNCTION(nl_langinfo) convert_to_long_ex(item); value = nl_langinfo(Z_LVAL_PP(item)); - if (value == NULL) { + if (value == NULL) { RETURN_FALSE; - } - else { + } else { RETURN_STRING(value, 1); } } |