From 061434e70768674fe7c682e709160bec25191da3 Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms <tleilax+studip@gmail.com> Date: Thu, 15 Sep 2022 07:17:38 +0000 Subject: [PATCH] don't lose info that the user does not want to see the migration nag screen anymore, fixes #1566 Closes #1566 Merge request studip/studip!988 --- lib/seminar_open.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/seminar_open.php b/lib/seminar_open.php index c95d306f5a6..3449f202eac 100644 --- a/lib/seminar_open.php +++ b/lib/seminar_open.php @@ -176,7 +176,7 @@ if (!Request::isXhr() && $perm->have_perm('root')) { $migrations = $migrator->relevantMigrations(null); $_SESSION['migration-check'] = [ - 'disabled' => false, + 'disabled' => $_SESSION['migration-check']['disabled'] ?? false, 'timestamp' => time(), 'count' => count($migrations), ]; -- GitLab