Skip to content

Commit 3b3a4b7

Browse files
committed
Re-added a pair, for readability as @andrepereiradasilva suggested not to have it ungrouped for readability
1 parent aa4854b commit 3b3a4b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/com_newsfeeds/views/newsfeed/view.html.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function display($tpl = null)
139139
// Check the access to the newsfeed
140140
$levels = $user->getAuthorisedViewLevels();
141141

142-
if (!in_array($item->access, $levels) or in_array($item->access, $levels) and (!in_array($item->category_access, $levels)))
142+
if (!in_array($item->access, $levels) or (in_array($item->access, $levels) and (!in_array($item->category_access, $levels))))
143143
{
144144
$app->enqueueMessage(JText::_('JERROR_ALERTNOAUTHOR'), 'error');
145145
$app->setHeader('status', 403, true);

0 commit comments

Comments
 (0)