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

This commit is contained in:
vAugagneur
2013-05-20 16:55:52 +02:00
parent 5244fdaa21
commit e01383c5a1
15 changed files with 29 additions and 29 deletions
+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);