33
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2025-01-08 16:54:06 +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)) elseif (is_numeric($search))
{ {
$query->where('(' . $db->quoteName('a.id') . ' LIKE "% ' . (int) $search . '%")'); $query->where('(' . $db->quoteName('a.id') . ' LIKE % ' . (int) $search . '%)');
} }
else else
{ {