33
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2025-02-02 11:58:26 +00:00

search id without "id:"

This commit is contained in:
andrepereiradasilva 2016-02-12 13:57:30 +00:00
parent 0557bf1bf8
commit 8df2b18715

View File

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