also load committee whether its active or not

This commit is contained in:
james 2010-10-15 01:46:53 +00:00
parent ab068fdfbb
commit c367656d02

View File

@ -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;
}
}