mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Logout - Updates for PHP 8.1
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
session_destroy();
|
session_destroy();
|
||||||
|
|
||||||
//check for login return preference
|
//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 (isset($_SESSION['login']['destination_last']) && ($_SESSION['login']['destination_last']['boolean'] == 'true')) {
|
||||||
if ($_SERVER['HTTP_REFERER'] != '') {
|
if ($_SERVER['HTTP_REFERER'] != '') {
|
||||||
//convert to relative path
|
//convert to relative path
|
||||||
|
|||||||
Reference in New Issue
Block a user