Logout - Updates for PHP 8.1

This commit is contained in:
fusionate 2023-05-16 18:38:06 +00:00
parent 155f15a407
commit 47e0347195
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@
session_destroy();
//check for login return preference
if ($_SESSION["user_uuid"] != '') {
if (!empty($_SESSION["user_uuid"])) {
if (isset($_SESSION['login']['destination_last']) && ($_SESSION['login']['destination_last']['boolean'] == 'true')) {
if ($_SERVER['HTTP_REFERER'] != '') {
//convert to relative path