Get the domain settings only if the domain_uuid has a value
This commit is contained in:
parent
fe6804ae8c
commit
33a0f6150d
|
|
@ -81,6 +81,7 @@
|
|||
}
|
||||
|
||||
//get the domains settings
|
||||
if (strlen($_SESSION["domain_uuid"]) > 0) {
|
||||
$sql = "select * from v_domain_settings ";
|
||||
$sql .= "where domain_uuid = '" . $_SESSION["domain_uuid"] . "' ";
|
||||
$sql .= "and domain_setting_enabled = 'true' ";
|
||||
|
|
@ -115,6 +116,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//get the user settings
|
||||
if (strlen($_SESSION["user_uuid"]) > 0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue