Commit 7bcb5dd3 authored by Robert Lyon's avatar Robert Lyon

Bug 1847750: Adding space in constructed sql query

To avoid sqashing 'AND' statement against previous bit

behatnotneeded

Change-Id: Ifac0c97c0c7d37e624c2fda574758b62132fc297
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
(cherry picked from commit 8857c1f6)
parent c70582c6
......@@ -859,7 +859,7 @@ class PluginSearchInternal extends PluginSearch {
name " . db_ilike() . " '%' || ? || '%'
OR description " . db_ilike() . " '%' || ? || '%'
OR shortname " . db_ilike() . " '%' || ? || '%'
) AND deleted = 0" . $ltiwhere;
) AND deleted = 0 " . $ltiwhere;
$values = array($query_string, $query_string, $query_string);
if (!$grouproles = join(',', array_keys($USER->get('grouproles')))) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment