From: Andrey Hristov Date: Wed, 2 Oct 2002 18:13:56 +0000 (+0000) Subject: Ws fix. Forgot to add this in the previous commit. X-Git-Tag: MODERN_SYMMETRIC_SESSION_BEHAVIOUR_20021003~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b2d93b67fc26b5dbba0d444107ef84eb6409c6e6;p=php Ws fix. Forgot to add this in the previous commit. --- 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); } }