Add a check for domain_uuid session.

This commit is contained in:
Mark Crane 2014-10-17 22:59:47 +00:00
parent 5ab03d30ad
commit 177b5105c3
1 changed files with 1 additions and 1 deletions

View File

@ -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"] . "' ";