Update PreorderModel.php
This commit is contained in:
@@ -1050,7 +1050,7 @@ WHERE p.deleted = 0 AND tt_preorderstatus.code < 899";
|
||||
public static function countTotalUnits($preorderCampaignId = null) {
|
||||
$db = FronkDB::singleton();
|
||||
|
||||
$where = "";
|
||||
$where = "1=1";
|
||||
if ($preorderCampaignId) {
|
||||
$where .= " AND pc.id = $preorderCampaignId";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user