33
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-12-22 19:09:00 +00:00

Don't quote the ID in the search

This commit is contained in:
Michael Babker 2015-12-17 12:08:16 -05:00
parent c2681fd4d4
commit 3cdf5624d0

View File

@ -134,7 +134,7 @@ class PullsModel extends \JModelDatabase
}
elseif (is_numeric($search))
{
$query->where('(' . $db->quoteName('a.id') . ' LIKE "% ' . (int) $search . '%")');
$query->where('(' . $db->quoteName('a.id') . ' LIKE % ' . (int) $search . '%)');
}
else
{