Get the domain settings only if the domain_uuid has a value

This commit is contained in:
Mark Crane 2014-07-25 09:08:51 +00:00
parent fe6804ae8c
commit 33a0f6150d
1 changed files with 33 additions and 31 deletions

View File

@ -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) {