Index: trunk/kernel/include/portaluser.php =================================================================== diff -u -r502 -r525 --- trunk/kernel/include/portaluser.php (.../portaluser.php) (revision 502) +++ trunk/kernel/include/portaluser.php (.../portaluser.php) (revision 525) @@ -231,7 +231,7 @@ function GetPersistantVariable($variableName) { - global $objConfig; + global $objConfig, $objSession; if(!$this->VarsLoaded) $this->LoadPersistantVars(); @@ -243,8 +243,17 @@ $val = $this->Vars[$variableName]; } else - $val = $objConfig->Get($variableName); - + { + if( $this->UniqueId() == $objSession->Get('PortalUserId') ) + { + $val = $objConfig->Get($variableName); + } + else + { + $val = ''; + } + } + return $val; }