diff --git a/app/Controller/AppController.php b/app/Controller/AppController.php index 4744ed569..5ec0f2f1d 100755 --- a/app/Controller/AppController.php +++ b/app/Controller/AppController.php @@ -118,6 +118,7 @@ class AppController extends Controller { $this->set('isAclAudit', $role['perm_audit']); $this->set('isAclAuth', $role['perm_auth']); } else { + $this->set('me', false); $this->set('isAdmin', false); $this->set('isSiteAdmin', false); $this->set('isAclAdd', false); diff --git a/app/View/Elements/global_menu.ctp b/app/View/Elements/global_menu.ctp index 69301009d..484c99d26 100755 --- a/app/View/Elements/global_menu.ctp +++ b/app/View/Elements/global_menu.ctp @@ -1,10 +1,12 @@ \ No newline at end of file