ILIAS icon indicating copy to clipboard operation
ILIAS copied to clipboard

bugfix: passed 'rule_id' MUST be of type int

Open utesche opened this issue 2 years ago • 0 comments

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

utesche avatar Jul 18 '22 14:07 utesche