Skip to content

Commit

Permalink
Merge pull request #22 from PlasticStudio/hotfix/php8
Browse files Browse the repository at this point in the history
revert
  • Loading branch information
ebakernz authored Dec 5, 2022
2 parents b795776 + a208875 commit 6a9e821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SearchPageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6a9e821

Please sign in to comment.