diff --git a/user.inc.php b/user.inc.php index f603f812..839b1deb 100644 --- a/user.inc.php +++ b/user.inc.php @@ -913,7 +913,7 @@ function updateSessionRoles($u=null) { $_SESSION['roles']=array(); if($u && is_array($u['roles'])) { foreach($u['roles'] AS $r=>$rd) { - if($rd['active']=="yes") + if($rd['active']=="yes" || $r=='admin' || $r=='config' || $r=='committee') $_SESSION['roles'][]=$r; } }