Fixed order_date

This commit is contained in:
Frank Schubert
2024-02-09 12:58:09 +01:00
parent 063be46a49
commit 371e6c8b0e
2 changed files with 2 additions and 2 deletions

View File

@@ -723,7 +723,7 @@ class OrderController extends mfBaseController {
$order_data['allow_spin'] = ($r->allow_spin) ? 1 : 0;
$order_data['note'] = $r->note;
$order_data['order_date'] = ($order_data['order_date']) ? Layout::dateToInt($r->order_date) : null;
$order_data['order_date'] = ($order_data['order_date']) ? Layout::dateToInt($r->order_date) : date("U");
if($r->finish_after) {
$order_data['finish_after'] = Layout::dateToInt($r->finish_after);