diff options
| author | David Siegfried <david.siegfried@uni-vechta.de> | 2022-11-07 13:04:29 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2022-11-07 13:04:29 +0000 |
| commit | a2a499c2d267561f1a445ffe02a8a5b5f96cf4c0 (patch) | |
| tree | f2cb7075d9fdf8c262d1625b0471059f4e737fbb /lib/seminar_open.php | |
| parent | cf4f0ddaa8a5e7e8380175c7d07402fa6ea3e8c5 (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.php | 2 |
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( |
