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

index be43096de6a78e2d190c81d9d5626ed2df7d0a51..366a34dd09c397c119ef48491dc3884a76e5a697 100644 (file)
@@ -3121,7 +3121,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];