]> granicus.if.org Git - php/commitdiff
Fixed #68704
authorXinchen Hui <laruence@php.net>
Thu, 8 Jan 2015 08:26:20 +0000 (16:26 +0800)
committerXinchen Hui <laruence@php.net>
Thu, 8 Jan 2015 08:26:20 +0000 (16:26 +0800)
ext/pcre/php_pcre.c

index 5701ae1a0c9e09ca4033f973a45569aa2165833d..d6f3823d3ff4028378e3d5f5864b4bd07a8b20e2 100644 (file)
@@ -376,7 +376,7 @@ PHPAPI pcre_cache_entry* pcre_get_compiled_regex_cache(zend_string *regex)
 
 #if HAVE_SETLOCALE
        if (BG(locale_string) &&
-           (!BG(locale_string)->len != 1 || !BG(locale_string)->val[0] != 'C')) {
+           (BG(locale_string)->len != 1 || BG(locale_string)->val[0] != 'C')) {
                tables = pcre_maketables();
        }
 #endif