From: Jakub Vrana Date: Wed, 5 Jun 2013 02:42:46 +0000 (-0700) Subject: Support &null[]=F(`c`) X-Git-Tag: v3.7.1~20 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=e80eb058e999ea2316c29120f88ca936ba3aae8c;p=adminer.git Support &null[]=F(`c`) --- 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); }