Skip to content

Commit 20eea04

Browse files
committed
Handle NOW correctly when creating order and register in SQL
1 parent 5debadb commit 20eea04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

controllers/front/ajax.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function initContent()
4141
(new GanalyticsRepository())->updateData(
4242
[
4343
'sent' => 1,
44-
'date_add' => 'NOW()',
44+
'date_add' => ['value' => 'NOW()', 'type' => 'sql'],
4545
],
4646
'id_order = ' . $orderId,
4747
1

0 commit comments

Comments
 (0)