diff --git a/administrator/components/com_patchtester/PatchTester/Model/PullsModel.php b/administrator/components/com_patchtester/PatchTester/Model/PullsModel.php index 006a004..69ebc78 100644 --- a/administrator/components/com_patchtester/PatchTester/Model/PullsModel.php +++ b/administrator/components/com_patchtester/PatchTester/Model/PullsModel.php @@ -128,7 +128,7 @@ class PullsModel extends \JModelDatabase if (!empty($search)) { - $searchid = $search; + $searchid = $db->quote($db->escape($search, true)); $search = $db->quote('%' . $db->escape($search, true) . '%'); $query->where( '(' . $db->quoteName('a.title') . ' LIKE ' . $search . ') OR ' .