diff --git a/includes/pages/install.php b/includes/pages/install.php index 486b5e2b..e8bc779c 100644 --- a/includes/pages/install.php +++ b/includes/pages/install.php @@ -8,7 +8,7 @@ use wishthis\{Page, Database}; -if ($options->getOption('isInstalled')) { +if ($options && $options->getOption('isInstalled')) { header('Location: /?page=login'); die(); }