summaryrefslogtreecommitdiff
path: root/ext/filter/logical_filters.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-07-18 23:32:46 +0200
committerAnatol Belski <ab@php.net>2016-07-18 23:33:22 +0200
commit7f3375d5f28b1447ccc659e9867d67cf3bb86ba7 (patch)
treec4b28e41edd1b302087d6a712774d4862572814b /ext/filter/logical_filters.c
parentf5452b2b46ba4164977495a97df8ea1c92263d98 (diff)
downloadphp-git-7f3375d5f28b1447ccc659e9867d67cf3bb86ba7.tar.gz
make constant name more descriptive
Diffstat (limited to 'ext/filter/logical_filters.c')
-rw-r--r--ext/filter/logical_filters.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/filter/logical_filters.c b/ext/filter/logical_filters.c
index 3a4a2946d4..c1a8f541a5 100644
--- a/ext/filter/logical_filters.c
+++ b/ext/filter/logical_filters.c
@@ -609,7 +609,7 @@ void php_filter_validate_email(PHP_INPUT_FILTER_PARAM_DECL) /* {{{ */
const char *regexp;
size_t regexp_len;
- if (flags & FILTER_FLAG_EMAIL_RFC6531) {
+ if (flags & FILTER_FLAG_EMAIL_UNICODE) {
regexp = regexp0;
regexp_len = sizeof(regexp0) - 1;
} else {