ILIAS
ILIAS copied to clipboard
bugfix: passed 'rule_id' MUST be of type int
otherwise a TypeError Exception is raised:
TypeError thrown with message "Argument 1 passed to ilLDAPRoleAssignmentRule::_getInstanceByRuleId() must be of the type int, string given, called in /.../Services/LDAP/classes/class.ilLDAPRoleAssignmentRules.php on line 103"
Stacktrace: #14 TypeError in /.../Services/LDAP/classes/class.ilLDAPRoleAssignmentRule.php:62 #13 ilLDAPRoleAssignmentRule:_getInstanceByRuleId in /.../Services/LDAP/classes/class.ilLDAPRoleAssignmentRules.php:103 #12 ilLDAPRoleAssignmentRules:getAssignmentsForUpdate in /.../Services/LDAP/classes/class.ilLDAPAttributeToUser.php:140