Fixed Preorder order_date saving and getting setup price
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user