fixed access to wrong variable

This commit is contained in:
Andreas Gohr 2017-01-21 15:07:13 +01:00
parent ebf33c90a1
commit eb8a8555eb
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class Admin extends Ui {
// 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">';