33
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2025-01-11 09:35:17 +00:00

Merge pull request #176 from alikon/patch-3

Postgresql - bigint field "pull_id" doesn't like LIKE operator - #175
This commit is contained in:
Michael Babker 2016-11-06 09:40:14 -06:00 committed by GitHub
commit 73cc997fc8

View File

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