diff --git a/src/MySQL.php b/src/MySQL.php index e7ddb7c..a7deac6 100644 --- a/src/MySQL.php +++ b/src/MySQL.php @@ -275,7 +275,7 @@ // Get array of SQL WHERE string and filter values $filter_sql = !is_null($this->filter_sql) ? " WHERE {$this->filter_sql}" : ""; - $sql = "DELETE FROM `{$this->table}`{$this->filter_sql}"; + $sql = "DELETE FROM `{$this->table}`{$filter_sql}"; return $this->execute_query($sql, self::to_list_array($this->filter_values)); }