Update PreorderModel.php

This commit is contained in:
Luca Haid
2025-03-20 08:37:39 +00:00
parent 9a07c3f7e7
commit 20e1740ad5

View File

@@ -1017,7 +1017,7 @@ class PreorderModel
public static function countActivePreorder($preorderCampaignId = null) {
$db = FronkDB::singleton();
$where = "1=1 ";
$where = " 1=1 ";
if ($preorderCampaignId) {
$where .= " AND p.preordercampaign_id = $preorderCampaignId";
}