]> granicus.if.org Git - php/commitdiff
- CS
authorDerick Rethans <derick@php.net>
Thu, 3 Apr 2003 06:21:59 +0000 (06:21 +0000)
committerDerick Rethans <derick@php.net>
Thu, 3 Apr 2003 06:21:59 +0000 (06:21 +0000)
ext/standard/string.c

index 9aac0a26746b6006f741763650214980a3db98f3..a7ab405ee81e7ce253c86d4ee889e45047bb16f3 100644 (file)
@@ -3377,7 +3377,9 @@ PHP_FUNCTION(setlocale)
        }
        while (1) {
                if (Z_TYPE_PP(args[1]) == IS_ARRAY) {
-                       if(!zend_hash_num_elements(Z_ARRVAL_PP(args[1]))) break;
+                       if (!zend_hash_num_elements(Z_ARRVAL_PP(args[1]))) {
+                               break;
+                       }
                        zend_hash_get_current_data(Z_ARRVAL_PP(args[1]),(void **)&plocale);
                } else {
                        plocale = args[i];