Skip to content

Commit

Permalink
Fix #2 for Page Navigation Plugin - User Auth View
Browse files Browse the repository at this point in the history
Fixed code style (spaces around the concatenating dots).
Travis was not happy with my 1st PR joomla#5698
  • Loading branch information
pe7er committed Jan 13, 2015
1 parent 16186da commit 7ce3819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/content/pagenavigation/pagenavigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 7ce3819

Please sign in to comment.