Logout - Updates for PHP 8.1
This commit is contained in:
parent
155f15a407
commit
47e0347195
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue