Jump to content

Parameter id_lang in function displayDate() is deprecated


Gipielle

Recommended Posts

In Prestashop 1.5, i will like to remove this warning because is very boring


Warning: Parameter id_lang in function displayDate() is deprecated in /Applications/MAMP/htdocs/sviluppo/classes/helper/HelperList.php on line 287
in /Applications/MAMP/htdocs/sviluppo/classes/Tools.php on line 2147

 

This is the line 287

 

$this->_list[$index][$key] = Tools::displayDate($tr[$key], $this->context->language->id, true);

Thanks for help

 

 

Edited by Gipielle (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...