Thanks Gerritv for finding this one. Should fix a bug during install and upgrade for single tenant systems.
This commit is contained in:
parent
9e6f345c5d
commit
196c987f74
|
|
@ -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'];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue