Skip to content

Commit

Permalink
fix wrong result in Domain::getMainSubdomainIds(); fixes #1202
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Kaufmann <[email protected]>
  • Loading branch information
d00p committed Dec 9, 2023
1 parent 1467dab commit 0348b1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Froxlor/Domain/Domain.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0348b1e

Please sign in to comment.