From 4b3cc073e55a78f0e374540ae533a934c78565aa Mon Sep 17 00:00:00 2001 From: Tim Schmitz Date: Tue, 2 Jun 2026 15:01:16 +0200 Subject: [PATCH 1/2] User: skip broken users in gallery (47791) --- .../User/classes/Gallery/class.ilUsersGalleryParticipants.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/ILIAS/User/classes/Gallery/class.ilUsersGalleryParticipants.php b/components/ILIAS/User/classes/Gallery/class.ilUsersGalleryParticipants.php index 560646982fc7..a65a0c9d3847 100755 --- a/components/ILIAS/User/classes/Gallery/class.ilUsersGalleryParticipants.php +++ b/components/ILIAS/User/classes/Gallery/class.ilUsersGalleryParticipants.php @@ -43,6 +43,10 @@ protected function getUsers(array $usr_ids): array continue; } + if (!ilObjUser::userExists([$usr_id])) { + continue; + } + if (!($user = ilObjectFactory::getInstanceByObjId($usr_id, false)) || !($user instanceof ilObjUser)) { continue; } From fd024617d80eba7380e9905de603fae9d403b146 Mon Sep 17 00:00:00 2001 From: Tim Schmitz Date: Tue, 2 Jun 2026 15:09:17 +0200 Subject: [PATCH 2/2] fix cp notice --- .../User/classes/Gallery/class.ilUsersGalleryParticipants.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/ILIAS/User/classes/Gallery/class.ilUsersGalleryParticipants.php b/components/ILIAS/User/classes/Gallery/class.ilUsersGalleryParticipants.php index a65a0c9d3847..9ee49ceb882e 100755 --- a/components/ILIAS/User/classes/Gallery/class.ilUsersGalleryParticipants.php +++ b/components/ILIAS/User/classes/Gallery/class.ilUsersGalleryParticipants.php @@ -1,7 +1,5 @@