From b2d93b67fc26b5dbba0d444107ef84eb6409c6e6 Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Wed, 2 Oct 2002 18:13:56 +0000 Subject: [PATCH] Ws fix. Forgot to add this in the previous commit. --- ext/standard/string.c | 5 ++--- 1 file 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); } } -- 2.50.1