Skip to content

Commit

Permalink
fixed access to wrong variable
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed Jan 21, 2017
1 parent ebf33c9 commit eb8a855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/Ui/Admin.php
Expand Up @@ -43,7 +43,7 @@ protected function showAdminMenu() {

// user manager only if the auth backend supports it
if(!$auth || !$auth->canDo('getUsers') ) {
if(isset($menu['usermanager'])) unset($menu['usermanager']);
if(isset($this->menu['usermanager'])) unset($this->menu['usermanager']);
}

echo '<ul class="admin_tasks">';
Expand Down

0 comments on commit eb8a855

Please sign in to comment.