[-] BO : remove deprecated parameter when call Tools::displayDate()

This commit is contained in:
vAugagneur committed 2013-05-20 16:55:52 +02:00
1 parent ec87deb016
commit 3328c7a653
15 files changed
+29 -29

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ class HTMLTemplateInvoiceCore extends HTMLTemplate
$this->smarty = $smarty;
// header informations
$this->date = Tools::displayDate($order_invoice->date_add, (int)$this->order->id_lang);
$this->date = Tools::displayDate($order_invoice->date_add);
$id_lang = Context::getContext()->language->id;
$this->title = HTMLTemplateInvoice::l('Invoice ').' #'.Configuration::get('PS_INVOICE_PREFIX', $id_lang, null, (int)$this->order->id_shop).sprintf('%06d', $order_invoice->number);