From 7ce3819c9f216370f8ecbb266a1802f9bbc1247a Mon Sep 17 00:00:00 2001 From: Peter Martin Date: Tue, 13 Jan 2015 12:12:58 +0100 Subject: [PATCH] Fix #2 for Page Navigation Plugin - User Auth View Fixed code style (spaces around the concatenating dots). Travis was not happy with my 1st PR https://github.com/joomla/joomla-cms/pull/5698 --- plugins/content/pagenavigation/pagenavigation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/content/pagenavigation/pagenavigation.php b/plugins/content/pagenavigation/pagenavigation.php index 3ba59b4d20542..0253c39f0174b 100644 --- a/plugins/content/pagenavigation/pagenavigation.php +++ b/plugins/content/pagenavigation/pagenavigation.php @@ -139,7 +139,7 @@ public function onContentBeforeDisplay($context, &$row, &$params, $page = 0) ->join('LEFT', '#__categories AS cc ON cc.id = a.catid') ->where( 'a.catid = ' . (int) $row->catid . ' AND a.state = ' . (int) $row->state - . ($canPublish ? '' : ' AND a.access IN ('.implode(",", JAccess::getAuthorisedViewLevels($user->id)).') '). $xwhere + . ($canPublish ? '' : ' AND a.access IN (' . implode(",", JAccess::getAuthorisedViewLevels($user->id)) . ') ') . $xwhere ); $query->order($orderby);