diff --git a/lib/Froxlor/Domain/Domain.php b/lib/Froxlor/Domain/Domain.php index 82616d37e3..d919f8d568 100644 --- a/lib/Froxlor/Domain/Domain.php +++ b/lib/Froxlor/Domain/Domain.php @@ -256,7 +256,7 @@ public static function getMainSubdomainIds(int $id): array ]); $result = []; while ($entry = $result_stmt->fetch(PDO::FETCH_ASSOC)) { - $result = $entry['id']; + $result[] = $entry['id']; } return $result; }