Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
GeraintEdwards committed Dec 3, 2017
1 parent 351b0c6 commit 6e1c893
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/search/content/content.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public function onContentSearch($text, $phrase = '', $ordering = '', $areas = nu
}
else
{
$wheres2[] = $subQuery->castAsChar('a.id').' IN( ' . (string) $subQuery . ')';
$wheres2[] = $subQuery->castAsChar('a.id') . ' IN( ' . (string) $subQuery . ')';
}

$where = '(' . implode(') OR (', $wheres2) . ')';
Expand Down Expand Up @@ -174,7 +174,7 @@ public function onContentSearch($text, $phrase = '', $ordering = '', $areas = nu
}
else
{
$wheres2[] = $subQuery->castAsChar('a.id').' IN( ' . (string) $subQuery . ')';
$wheres2[] = $subQuery->castAsChar('a.id') . ' IN( ' . (string) $subQuery . ')';
}
}
else
Expand Down Expand Up @@ -213,7 +213,7 @@ public function onContentSearch($text, $phrase = '', $ordering = '', $areas = nu
}
else
{
$wheres[] = $subQuery->castAsChar('a.id').' IN( ' . (string) $subQuery . ')';
$wheres[] = $subQuery->castAsChar('a.id') . ' IN( ' . (string) $subQuery . ')';
}
}

Expand Down

0 comments on commit 6e1c893

Please sign in to comment.