Skip to content

Commit

Permalink
Merge pull request joomla#97 from brianteeman/patch-2
Browse files Browse the repository at this point in the history
Fix search
  • Loading branch information
mbabker committed May 23, 2015
2 parents 60165e4 + b64ae94 commit ed82aea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ protected function getListQuery()

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 ' .
Expand Down

0 comments on commit ed82aea

Please sign in to comment.