Index: trunk/core/units/users/users_event_handler.php =================================================================== diff -u -N -r3013 -r3031 --- trunk/core/units/users/users_event_handler.php (.../users_event_handler.php) (revision 3013) +++ trunk/core/units/users/users_event_handler.php (.../users_event_handler.php) (revision 3031) @@ -55,7 +55,7 @@ { $groups = $object->getMembershipGroups(true); if(!$groups) $groups = Array(); - if (!defined('ADMIN')) array_push($groups, $this->Application->ConfigValue('User_LoggedInGroup') ); + if ( !$this->Application->IsAdmin() ) array_push($groups, $this->Application->ConfigValue('User_LoggedInGroup') ); $this->Application->StoreVar( 'UserGroups', implode(',', $groups) ); if( $this->Application->CheckPermission('LOGIN',0) )