mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Use !empty in the if statement
This commit is contained in:
@@ -486,7 +486,7 @@ if (!class_exists('domains')) {
|
||||
}
|
||||
|
||||
//get the domains settings
|
||||
if (is_uuid($_SESSION["domain_uuid"])) {
|
||||
if (!empty($_SESSION["domain_uuid"]) && is_uuid($_SESSION["domain_uuid"])) {
|
||||
|
||||
//get settings from the database
|
||||
$sql = "select * from v_domain_settings ";
|
||||
|
||||
Reference in New Issue
Block a user