[-] BO : fix #PSCFV-2480 : fix translations

This commit is contained in:
lLefevre
2012-05-22 12:42:58 +00:00
parent 0a09286f20
commit c9fea1ebbc
7 changed files with 27 additions and 28 deletions
+1 -1
View File
@@ -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