Fixed Preorder order_date saving and getting setup price

This commit is contained in:
Frank Schubert
2025-08-06 14:40:13 +02:00
parent 2adf180c09
commit 25fe5c2ffe

View File

@@ -38,7 +38,6 @@ WHERE p.type = 'order'
AND psnl.id IS NULL -- No existing '300-custom-new-order' notification
AND p.create > ".$earliest_order_date->getTimestamp()." -- no older than \$earliest_order_date
AND p.create < (UNIX_TIMESTAMP(NOW()) - 7200) -- Only consider preorders older than 2 hours
AND p.id=22456
ORDER BY p.id ASC;";
$res = $db->query($sql);