From d4737921aaaac1758039acc9a843afebcffb1e17 Mon Sep 17 00:00:00 2001 From: Jay Trees Date: Fri, 11 Mar 2022 15:52:29 +0100 Subject: [PATCH] Refactor --- src/classes/page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes/page.php b/src/classes/page.php index 566e8ff2..66a27e19 100644 --- a/src/classes/page.php +++ b/src/classes/page.php @@ -144,7 +144,7 @@ class Page /** * Redirect */ - if (!isset($_POST['install']) && isset($_SERVER['QUERY_STRING'])) { + if (isset($options) && !$options->getOption('isInstalled') && isset($_SERVER['QUERY_STRING'])) { $url = new URL($_SERVER['QUERY_STRING']); $redirect_to = $url->getPretty();