Skip to content
This repository has been archived by the owner on Mar 1, 2018. It is now read-only.

Commit

Permalink
# [joomla#27819] The articles model displays articles for which ther…
Browse files Browse the repository at this point in the history
…e is no

category access. Thanks Carsten and Nick
  • Loading branch information
carsten 888 authored and infograf768 committed Jun 2, 2012
1 parent eb677fe commit af059de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/com_content/models/articles.php
Expand Up @@ -248,6 +248,7 @@ function getListQuery()
$user = JFactory::getUser();
$groups = implode(',', $user->getAuthorisedViewLevels());
$query->where('a.access IN ('.$groups.')');
$query->where('c.access IN ('.$groups.')');
}

// Filter by published state
Expand Down
1 change: 1 addition & 0 deletions installation/CHANGELOG
Expand Up @@ -29,6 +29,7 @@ $ -> Language fix or change
02-June-2012 Jean-Marie Simonet
# [#28375] Remove blacklist code from FinderIndexerHelper. Thanks Michael
# [#28605] ACL regression in com_finder. Thanks Sander
# [#27819] The articles model displays articles for which there is no category access. Thanks Carsten and Nick

01-June-2012 Jean-Marie Simonet
# [#28589] *ACL regression in com_search
Expand Down

0 comments on commit af059de

Please sign in to comment.