]> granicus.if.org Git - php/commitdiff
Ws fix. Forgot to add this in the previous commit.
authorAndrey Hristov <andrey@php.net>
Wed, 2 Oct 2002 18:13:56 +0000 (18:13 +0000)
committerAndrey Hristov <andrey@php.net>
Wed, 2 Oct 2002 18:13:56 +0000 (18:13 +0000)
ext/standard/string.c

index 669009b6292a2aa037a3dc723fc5597cc26bb7e9..a5dff3ed8febeb40fd5ce432352197eab1086fbd 100644 (file)
@@ -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);
        }
 }