fix wrong result in Domain::getMainSubdomainIds(); fixes #1202
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -256,7 +256,7 @@ class Domain
|
|||||||
]);
|
]);
|
||||||
$result = [];
|
$result = [];
|
||||||
while ($entry = $result_stmt->fetch(PDO::FETCH_ASSOC)) {
|
while ($entry = $result_stmt->fetch(PDO::FETCH_ASSOC)) {
|
||||||
$result = $entry['id'];
|
$result[] = $entry['id'];
|
||||||
}
|
}
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user