Thanks Gerritv for finding this one. Should fix a bug during install and upgrade for single tenant systems.

This commit is contained in:
Mark Crane 2012-10-18 19:25:40 +00:00
parent 9e6f345c5d
commit 196c987f74
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@
$prep_statement->execute();
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
foreach($result as $row) {
if (count($result) == 0) {
if (count($result) == 1) {
$_SESSION["domain_uuid"] = $row["domain_uuid"];
$_SESSION["domain_name"] = $row['domain_name'];
}