Closed mameier closed 10 months ago
Yup, just got that reported from a user on Discord, confirmed. Patch:
diff --git a/lib/Froxlor/Domain/Domain.php b/lib/Froxlor/Domain/Domain.php
index 82616d37..d919f8d5 100644
--- a/lib/Froxlor/Domain/Domain.php
+++ b/lib/Froxlor/Domain/Domain.php
@@ -256,7 +256,7 @@ class Domain
]);
$result = [];
while ($entry = $result_stmt->fetch(PDO::FETCH_ASSOC)) {
- $result = $entry['id'];
+ $result[] = $entry['id'];
}
return $result;
}
Bugfix release will follow this weekend. Thanks for reporting.
Das soll Dir erst einmal einer nach machen: Issue innerhalb von einer Minute zu korrigieren und nach 4 Minuten zu schließen ;-) Vielen Dank
Describe the bug After upgrade to froxlor 2.1.0-1 on bookworm, changing a domain resulted in this error during the cron task:
A clear and concise description of what the bug is.
System information
Cause
The new function getMainSubdomainIds is expected to return an array of ids.
Line 259 replaces the array by an integer, so an integer is returned
Patch
Just fix line 259 from
to