From 25fe5c2ffef235d6e0f2c55e945f471e5d8d2d61 Mon Sep 17 00:00:00 2001 From: Frank Schubert Date: Wed, 6 Aug 2025 14:40:13 +0200 Subject: [PATCH] Fixed Preorder order_date saving and getting setup price --- .../send-preorder-custom-new-notification.php | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/preorder/custom_notifications/send-preorder-custom-new-notification.php b/scripts/preorder/custom_notifications/send-preorder-custom-new-notification.php index 7de5a1d87..883d6f526 100644 --- a/scripts/preorder/custom_notifications/send-preorder-custom-new-notification.php +++ b/scripts/preorder/custom_notifications/send-preorder-custom-new-notification.php @@ -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);