From e80eb058e999ea2316c29120f88ca936ba3aae8c Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Tue, 4 Jun 2013 19:42:46 -0700 Subject: [PATCH] Support &null[]=F(`c`) --- adminer/include/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index 0d32ce24..c27ac330 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -345,7 +345,7 @@ function where($where, $fields = array()) { } } foreach ((array) $where["null"] as $key) { - $return[] = idf_escape($key) . " IS NULL"; + $return[] = (preg_match($function_pattern, $key) ? $key : idf_escape($key)) . " IS NULL"; } return implode(" AND ", $return); }