Fix PHP error on login check if Array last_visited is set

This commit is contained in:
johnnyq
2024-11-16 16:33:23 -05:00
parent 20c87044b9
commit 20a24b6ec6
2 changed files with 4 additions and 1 deletions

View File

@@ -221,7 +221,7 @@ if (isset($_POST['login'])) {
//}
}
if ($_GET['last_visited']) {
if (isset($_GET['last_visited'])) {
header("Location: ".$_SERVER["REQUEST_SCHEME"] . "://" . $config_base_url . base64_decode($_GET['last_visited']) );
} else {
header("Location: $config_start_page");