mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-04 02:43:48 +00:00
Thanks Gerritv for finding this one. Should fix a bug during install and upgrade for single tenant systems.
This commit is contained in:
@@ -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'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user