aboutsummaryrefslogtreecommitdiff
path: root/lib/seminar_open.php
diff options
context:
space:
mode:
authorDavid Siegfried <david.siegfried@uni-vechta.de>2022-11-07 13:04:29 +0000
committerDavid Siegfried <david.siegfried@uni-vechta.de>2022-11-07 13:04:29 +0000
commita2a499c2d267561f1a445ffe02a8a5b5f96cf4c0 (patch)
treef2cb7075d9fdf8c262d1625b0471059f4e737fbb /lib/seminar_open.php
parentcf4f0ddaa8a5e7e8380175c7d07402fa6ea3e8c5 (diff)
prevent php8-warning, closes #1750
Closes #1750 Merge request studip/studip!1139
Diffstat (limited to 'lib/seminar_open.php')
-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 3449f20..8d7d65e 100644
--- a/lib/seminar_open.php
+++ b/lib/seminar_open.php
@@ -186,7 +186,7 @@ if (!Request::isXhr() && $perm->have_perm('root')) {
$_SESSION['migration-check']['disabled'] = true;
}
- if (!$_SESSION['migration-check']['disabled']
+ if (!empty($_SESSION['migration-check']['disabled'])
&& $_SESSION['migration-check']['count'] > 0
) {
$info = sprintf(