[sfiab-commits] [svn] commit: r2384 - /trunk/user.inc.php
Brought to you by:
sfiab
From: <in...@sf...> - 2010-10-15 01:46:59
|
Author: james Date: Thu Oct 14 21:46:53 2010 New Revision: 2384 Log: also load committee whether its active or not Modified: trunk/user.inc.php Modified: trunk/user.inc.php ============================================================================== --- trunk/user.inc.php (original) +++ trunk/user.inc.php Thu Oct 14 21:46:53 2010 @@ -913,7 +913,7 @@ $_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; } } |