Index: trunk/kernel/include/usersession.php
===================================================================
diff -u -r41 -r168
--- trunk/kernel/include/usersession.php (.../usersession.php) (revision 41)
+++ trunk/kernel/include/usersession.php (.../usersession.php) (revision 168)
@@ -718,7 +718,8 @@
{
$GroupList = substr($GroupList,0,-1);
$this->Set("GroupList",$GroupList);
- }
+ }
+ //print_pre( $GroupList);
if($this->Get("GroupList")!=$this->PermCacheGroups)
$this->ResetSysPermCache();
if(!$this->SysPermCacheLoaded())
@@ -727,7 +728,7 @@
$this->GetSysPermCache();
$this->PermCacheGroups = $this->Get("GroupList");
}
- //echo "SysPerm $PermissionName: ". $this->SysPermCache[$PermissionName]."
\n";
+ //echo "SysPerm $PermissionName: [". $this->SysPermCache[$PermissionName]."]
\n";
return isset($this->SysPermCache[$PermissionName]) ? $this->SysPermCache[$PermissionName] == 1 : false;
}