Skip to content
Snippets Groups Projects
Commit 7eaf4e04 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fix regression from a2a499c2, re #1750

parent 42ca635e
No related branches found
No related tags found
No related merge requests found
......@@ -175,6 +175,7 @@ if (!Request::isXhr() && $perm->have_perm('root')) {
);
$migrations = $migrator->relevantMigrations(null);
$_SESSION['migration-check'] = [
'disabled' => $_SESSION['migration-check']['disabled'] ?? false,
'timestamp' => time(),
......@@ -186,7 +187,7 @@ if (!Request::isXhr() && $perm->have_perm('root')) {
$_SESSION['migration-check']['disabled'] = true;
}
if (!empty($_SESSION['migration-check']['disabled'])
if (empty($_SESSION['migration-check']['disabled'])
&& $_SESSION['migration-check']['count'] > 0
) {
$info = sprintf(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment