Add a check for domain_uuid session.
This commit is contained in:
parent
f1e5c42cba
commit
1cfaaf0a4b
|
|
@ -134,7 +134,7 @@
|
|||
}
|
||||
|
||||
//get the user settings
|
||||
if (strlen($_SESSION["user_uuid"]) > 0) {
|
||||
if (strlen($_SESSION["domain_uuid"]) > 0 && strlen($_SESSION["user_uuid"]) > 0) {
|
||||
$sql = "select * from v_user_settings ";
|
||||
$sql .= "where domain_uuid = '" . $_SESSION["domain_uuid"] . "' ";
|
||||
$sql .= "and user_uuid = '" . $_SESSION["user_uuid"] . "' ";
|
||||
|
|
|
|||
Loading…
Reference in New Issue