mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Change the and to an or and add an isset
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
if (!isset($_SESSION['template_content'])) { $_SESSION["template_content"] = null; }
|
||||
|
||||
//if the session is not authorized then verify the identity
|
||||
if (!isset($_SESSION['authorized']) && !$_SESSION['authorized']) {
|
||||
if (!isset($_SESSION['authorized']) || (isset($_SESSION['authorized']) && !$_SESSION['authorized'])) {
|
||||
|
||||
//clear the menu
|
||||
unset($_SESSION["menu"]);
|
||||
|
||||
Reference in New Issue
Block a user