summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2015-01-08 16:26:20 +0800
committerXinchen Hui <laruence@php.net>2015-01-08 16:26:20 +0800
commitd7fd9406915e3b8cf66764305e82b0cae2414545 (patch)
tree1216506caca4ee30f753ee28bb205d0e42ef1c8b /ext/pcre/php_pcre.c
parent1b4f7c3a771f2bae365190fa4f5d4b9b8aa4cae5 (diff)
downloadphp-git-d7fd9406915e3b8cf66764305e82b0cae2414545.tar.gz
Fixed #68704
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r--ext/pcre/php_pcre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c
index 5701ae1a0c..d6f3823d3f 100644
--- a/ext/pcre/php_pcre.c
+++ b/ext/pcre/php_pcre.c
@@ -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