diff --git a/include/dba.php b/include/dba.php index 247e6ac83a..4f7ca4da35 100644 --- a/include/dba.php +++ b/include/dba.php @@ -1245,7 +1245,7 @@ class dba { $placeholders = substr(str_repeat("?, ", count($value)), 0, -2); $condition_string .= "`" . $field . "` IN (" . $placeholders . ")"; } else { - $new_values[] = $value; + $new_values[$field] = $value; $condition_string .= "`" . $field . "` = ?"; } }