[-] BO : remove deprecated parameter when call Tools::displayDate()
This commit is contained in:
@@ -282,9 +282,9 @@ class HelperListCore extends Helper
|
||||
$this->_list[$index][$key] = Tools::displayPrice($tr[$key], $currency, false);
|
||||
}
|
||||
elseif (isset($params['type']) && $params['type'] == 'date')
|
||||
$this->_list[$index][$key] = Tools::displayDate($tr[$key], $this->context->language->id);
|
||||
$this->_list[$index][$key] = Tools::displayDate($tr[$key]);
|
||||
elseif (isset($params['type']) && $params['type'] == 'datetime')
|
||||
$this->_list[$index][$key] = Tools::displayDate($tr[$key], $this->context->language->id, true);
|
||||
$this->_list[$index][$key] = Tools::displayDate($tr[$key],null , true);
|
||||
elseif (isset($tr[$key]))
|
||||
{
|
||||
$echo = $tr[$key];
|
||||
|
||||
Reference in New Issue
Block a user