aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2022-09-15 07:17:38 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2022-09-15 07:17:38 +0000
commit061434e70768674fe7c682e709160bec25191da3 (patch)
treeedc952e4c3900d6a015a18290835bff4239c9e1a /lib
parenta0b4395b6fe41d00305f8c9fc275d20ae5797b17 (diff)
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
Diffstat (limited to 'lib')
-rw-r--r--lib/seminar_open.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/seminar_open.php b/lib/seminar_open.php
index c95d306..3449f20 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),
];