Skip to content

Commit

Permalink
fix jedchecker strict warning
Browse files Browse the repository at this point in the history
  • Loading branch information
svanschu committed Jan 10, 2017
1 parent e8907b6 commit e12af34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/com_schuweb_sitemap/models/sitemap.php
Expand Up @@ -149,7 +149,7 @@ public function &getItem($pk = null)
$data->params->set('access-view', true); $data->params->set('access-view', true);
} else { } else {
// If no access filter is set, the layout takes some responsibility for display of limited information. // If no access filter is set, the layout takes some responsibility for display of limited information.
$user = &JFactory::getUser(); $user = JFactory::getUser();
$groups = $user->authorisedLevels(); $groups = $user->authorisedLevels();


$data->params->set('access-view', in_array($data->access, $groups)); $data->params->set('access-view', in_array($data->access, $groups));
Expand Down

0 comments on commit e12af34

Please sign in to comment.