git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@964 a333f486-631f-4898-b8df-5754b55c2be0
@@ -493,6 +493,10 @@ class UserRights
{
return '';
}
+ if (!MetaModel::IsValidAttCode(get_class($oUser), 'contactid'))
+ {
+ return '';
+ }
return $oUser->Get('contactid');