Update domains.php

This commit is contained in:
FusionPBX 2023-05-12 20:32:44 -06:00 committed by GitHub
parent a4fddc7897
commit ff2c52eda8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -17,7 +17,7 @@
The Initial Developer of the Original Code is The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com> Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2022 Portions created by the Initial Developer are Copyright (C) 2008-2023
the Initial Developer. All Rights Reserved. the Initial Developer. All Rights Reserved.
Contributor(s): Contributor(s):
@ -585,7 +585,9 @@ if (!class_exists('domains')) {
} }
//set the context //set the context
$_SESSION["context"] = $_SESSION["domain_name"]; if (!empty($_SESSION["domain_name"])) {
$_SESSION["context"] = $_SESSION["domain_name"];
}
} }
/** /**