diff --git a/classes/order/OrderHistory.php b/classes/order/OrderHistory.php index f0de14457..9c0721baa 100644 --- a/classes/order/OrderHistory.php +++ b/classes/order/OrderHistory.php @@ -126,7 +126,7 @@ class OrderHistoryCore extends ObjectModel .'&secure_key='.$order->secure_key; $assign[$key]['link'] = $dl_link; if (isset($virtual_product['download_deadline']) && $virtual_product['download_deadline'] != '0000-00-00 00:00:00') - $assign[$key]['deadline'] = Tools::displayDate($virtual_product['download_deadline ']); + $assign[$key]['deadline'] = Tools::displayDate($virtual_product['download_deadline']); if ($product_download->nb_downloadable != 0) $assign[$key]['downloadable'] = (int)$product_download->nb_downloadable; } @@ -485,4 +485,4 @@ class OrderHistoryCore extends ObjectModel else return $this->add(); } -} \ No newline at end of file +}