forked from science-ation/science-ation
also load committee whether its active or not
This commit is contained in:
parent
ab068fdfbb
commit
c367656d02
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user