[-] BO : remove deprecated parameter when call Tools::displayDate()
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user