From: Derick Rethans Date: Thu, 3 Apr 2003 06:21:59 +0000 (+0000) Subject: - CS X-Git-Tag: RELEASE_0_5~176 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6412e65bf9ee59cbe0222dde8f78a0355f45ac1b;p=php - CS --- diff --git a/ext/standard/string.c b/ext/standard/string.c index 9aac0a2674..a7ab405ee8 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -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];