Prerequisites for custom fields

SVN:trunk[3918]
This commit is contained in:
Romain Quetiez
2016-02-19 12:30:19 +00:00
parent 08c6bb5c5e
commit bfadbc4098
4 changed files with 9 additions and 6 deletions

View File

@@ -503,6 +503,7 @@ class UserRightsProfile extends UserRightsAddOnAPI
$aRet = array();
$oSearch = new DBObjectSearch('URP_UserProfile');
$oSearch->AllowAllData();
$oSearch->NoContextParameters();
$oSearch->Addcondition('userid', $oUser->GetKey(), '=');
$oProfiles = new DBObjectSet($oSearch);
while ($oUserProfile = $oProfiles->Fetch())