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