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:
parent
c2681fd4d4
commit
3cdf5624d0
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user