diff --git a/addons/userrights/userrightsprofile.class.inc.php b/addons/userrights/userrightsprofile.class.inc.php index 4763d54e2..73db5b02b 100644 --- a/addons/userrights/userrightsprofile.class.inc.php +++ b/addons/userrights/userrightsprofile.class.inc.php @@ -799,7 +799,7 @@ class UserRightsProfile extends UserRightsAddOnAPI return $aRes; } - public function IsActionAllowed($oUser, $sClass, $iActionCode, DBObjectSet $oInstanceSet = null) + public function IsActionAllowed($oUser, $sClass, $iActionCode, $oInstanceSet = null) { $this->LoadCache(); @@ -969,4 +969,3 @@ class UserRightsProfile extends UserRightsAddOnAPI UserRights::SelectModule('UserRightsProfile'); -?>