diff --git a/Modules/LearningSequence/classes/Members/class.ilLearningSequenceParticipantsTableGUI.php b/Modules/LearningSequence/classes/Members/class.ilLearningSequenceParticipantsTableGUI.php index 2a6d0f4dd025..957ba7d67ae9 100644 --- a/Modules/LearningSequence/classes/Members/class.ilLearningSequenceParticipantsTableGUI.php +++ b/Modules/LearningSequence/classes/Members/class.ilLearningSequenceParticipantsTableGUI.php @@ -1,7 +1,5 @@ tpl->setCurrentBlock('custom_fields'); - $this->tpl->setVariable('VAL_CUST', ilOrgUnitPathStorage::getTextRepresentationOfUsersOrgUnits($a_set['usr_id'])); + $this->tpl->setVariable('VAL_CUST', ilOrgUnitPathStorage::getTextRepresentationOfUsersOrgUnits((int) $a_set['usr_id'])); $this->tpl->parseCurrentBlock(); break; default: @@ -337,7 +336,7 @@ public function parse(): void ) { $org_unit = $this->current_filter['org_units']; $title = ilObjectFactory::getInstanceByRefId($org_unit)->getTitle(); - $user_units = ilOrgUnitPathStorage::getTextRepresentationOfUsersOrgUnits($user_id); + $user_units = ilOrgUnitPathStorage::getTextRepresentationOfUsersOrgUnits((int) $user_id); if (strpos($user_units, $title) === false) { continue; }