From 04708b850c15e3f9f48b2b68bbc80f159f38a9eb Mon Sep 17 00:00:00 2001 From: Olaf Lederer Date: Wed, 14 Sep 2022 11:44:52 +0200 Subject: [PATCH] Update options.php Bugfix for validating new setups --- options.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options.php b/options.php index 4b652e7..94a08b1 100644 --- a/options.php +++ b/options.php @@ -28,7 +28,7 @@ $slug = $db->querySingle("SELECT slug FROM logins WHERE 1 LIMIT 0,1"); if ($res['confirmed'] == 'yes') { get_authorized(); - } elseif ($res['confirmed'] == 'no' && empty($slug)) { + } elseif ($res['confirmed'] == 'no' && $slug != NULL) { header('Location: '.BASE_URL.'login.php?msg=inprogress'); exit; } else {