diff --git a/src/SearchPageController.php b/src/SearchPageController.php index f9b4b72..688e6e7 100755 --- a/src/SearchPageController.php +++ b/src/SearchPageController.php @@ -162,7 +162,7 @@ public static function get_mapped_filters(){ public static function get_query($mysqlSafe = false){ $query = self::$query; if ($query) { - if ($mysqlSafe && $query) { + if ($mysqlSafe) { $query = str_replace("'", "\'", $query); $query = str_replace('"', '\"', $query); $query = str_replace('`', '\`', $query);