Skip to content

Commit d962c18

Browse files
committed
Handle NOW correctly in AdminGanalyticsAjax controller
1 parent aee4bbe commit d962c18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

controllers/admin/AdminGanalyticsAjax.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function init()
3333
(new GanalyticsRepository())->updateData(
3434
[
3535
'sent' => 1,
36-
'date_add' => 'NOW()',
36+
'date_add' => ['value' => 'NOW()', 'type' => 'sql'],
3737
],
3838
'id_order = ' . $orderId
3939
);

0 commit comments

Comments
 (0)