[-] BO : fix #PSCFV-2480 : fix translations
This commit is contained in:
@@ -52,7 +52,7 @@ class DbPDOCore extends Db
|
||||
}
|
||||
catch (PDOException $e)
|
||||
{
|
||||
throw new PrestaShopDatabaseException(Tools::displayError('Link to database cannot be established. ('.$e->getMessage().')'));
|
||||
throw new PrestaShopDatabaseException(sprintf(Tools::displayError('Link to database cannot be established: %s'), $e->getMessage()));
|
||||
}
|
||||
|
||||
// UTF-8 support
|
||||
|
||||
Reference in New Issue
Block a user