From 8dd720e207487efd5a1ba6cef1ca4ed891df3ca7 Mon Sep 17 00:00:00 2001 From: Thomas Hackl <hackl@data-quest.de> Date: Wed, 30 Oct 2024 07:42:45 +0000 Subject: [PATCH] =?UTF-8?q?Resolve=20"Neuer=20Root-Assistent=20wird=20auch?= =?UTF-8?q?=20f=C3=BCr=20Nicht-Roots=20angezeigt=20und=20l=C3=A4uft=20in?= =?UTF-8?q?=20Fehlermeldung"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #4783 Merge request studip/studip!3576 --- lib/seminar_open.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/seminar_open.php b/lib/seminar_open.php index e982d161c13..cfed84762a3 100644 --- a/lib/seminar_open.php +++ b/lib/seminar_open.php @@ -214,7 +214,8 @@ if (!Request::isXhr() && $perm->have_perm('root')) { } if ( - Config::get()->MIGRATION_START_VERSION + $GLOBALS['perm']->have_perm('root') + && Config::get()->MIGRATION_START_VERSION && Config::get()->MIGRATION_START_VERSION < StudipVersion::getStudipVersion(true) && !Config::get()->UPDATE_NEWS_SEEN ) { -- GitLab