Index: branches/5.1.x/core/kernel/event_manager.php =================================================================== diff -u -N -r12657 -r13086 --- branches/5.1.x/core/kernel/event_manager.php (.../event_manager.php) (revision 12657) +++ branches/5.1.x/core/kernel/event_manager.php (.../event_manager.php) (revision 13086) @@ -1,6 +1,6 @@ Application->IsAdmin()) { + if ($this->Application->isAdmin) { array_push($all_passed, $prefix_special); } else { @@ -421,7 +421,7 @@ if ($event->status == erPERM_FAIL) { // should do redirect but to no_permissions template - $event->redirect = $this->Application->IsAdmin() ? 'no_permission' : $this->Application->ConfigValue('NoPermissionTemplate'); + $event->redirect = $this->Application->isAdmin ? 'no_permission' : $this->Application->ConfigValue('NoPermissionTemplate'); $event->redirect_params['pass'] = 'm'; $themes_helper =& $this->Application->recallObject('ThemesHelper');