fix wrong result in Domain::getMainSubdomainIds(); fixes #1202

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2023-12-09 14:25:58 +01:00
parent 1467dab58f
commit 0348b1ec7e

View File

@@ -256,7 +256,7 @@ class Domain
]);
$result = [];
while ($entry = $result_stmt->fetch(PDO::FETCH_ASSOC)) {
$result = $entry['id'];
$result[] = $entry['id'];
}
return $result;
}