mirror of
https://github.com/vrana/adminer.git
synced 2025-08-10 08:34:20 +02:00
Support &null[]=F(c
)
This commit is contained in:
@@ -345,7 +345,7 @@ function where($where, $fields = array()) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
foreach ((array) $where["null"] as $key) {
|
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);
|
return implode(" AND ", $return);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user