From b4c45818ceb7c32507e262a71c0ff17caeb42384 Mon Sep 17 00:00:00 2001 From: Thomas Hunziker Date: Thu, 12 Jan 2017 11:24:58 +0100 Subject: [PATCH] Codestyle --- plugins/search/content/content.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/search/content/content.php b/plugins/search/content/content.php index 4df4f47234b6f..b33f0f26419cc 100644 --- a/plugins/search/content/content.php +++ b/plugins/search/content/content.php @@ -262,7 +262,7 @@ public function onContentSearch($text, $phrase = '', $ordering = '', $areas = nu ->order($order); // Join over Fields. - $query->join('LEFT', '#__fields_values AS fv ON fv.item_id = '. $query->castAsChar('a.id')) + $query->join('LEFT', '#__fields_values AS fv ON fv.item_id = ' . $query->castAsChar('a.id')) ->join('LEFT', '#__fields AS f ON f.id = fv.field_id') ->where('(fv.context IS NULL OR fv.context = ' . $db->q('com_content.article') . ')') ->where('(f.state IS NULL OR f.state = 1)')