Commit 29739088d4c172a438acc06d75a26141cfd26c81

Authored by Alexey Boroda
1 parent e83bcda3

-Statistics export fix

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
controllers/StatisticsController.php
@@ -236,7 +236,7 @@ @@ -236,7 +236,7 @@
236 /** 236 /**
237 * @var Order $order 237 * @var Order $order
238 */ 238 */
239 - $line[] = $formatter->asDecimal($order->id); 239 + $line[] = (string) $order->id;
240 $line[] = $formatter->asDatetime($order->created_at); 240 $line[] = $formatter->asDatetime($order->created_at);
241 $line[] = (string) $order->name; 241 $line[] = (string) $order->name;
242 if (empty($order->products)) { 242 if (empty($order->products)) {