Fix to follow up 2167

The last commit made by Sacha Froment contains a SQL syntax error, which cause Prestashop  to throw a SQL error when trying to load
the website's main page.