Korrigiere Durchfuehrungsfilter

This commit is contained in:
gitea_admin committed 2026-09-19 09:25:10 +02:00
1 parent 9bde337506
commit bb2ddb388e
1 file changed
-1
-1
View File
@@ -242,7 +242,6 @@ function market_management_search_occurrences(PDO $pdo, array $input): array
$where = [];
$params = [':limit' => min(100, max(1, (int) ($input['limit'] ?? 50))), ':offset' => max(0, (int) ($input['offset'] ?? 0))];
$includeArchived = (bool) ($input['include_archived'] ?? false);
$params[':include_archived'] = $includeArchived;
if (!$includeArchived) {
$where[] = 'o.archived_at IS NULL';
}