Fixed the querys with the string '0'.
This commit is contained in:
parent
b4e74e8502
commit
2a832e5758
|
@ -548,7 +548,7 @@ function mysql_db_format_array_where_clause_sql ($values, $join = 'AND', $prefix
|
|||
$query .= sprintf ('%s IN ("%s")', $field, implode ('", "', $value));
|
||||
}
|
||||
else {
|
||||
if (empty($value)) {
|
||||
if ($value === "") {
|
||||
//Search empty string
|
||||
$query .= sprintf ("%s = ''", $field);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue