From cc91b4bd602202d931b8e44d9db3ef45f5b8a94f Mon Sep 17 00:00:00 2001 From: mMarinetti Date: Wed, 21 Dec 2011 19:58:01 +0000 Subject: [PATCH] // removed useless Tools::displayError() git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11547 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/db/Db.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/db/Db.php b/classes/db/Db.php index 75ecacd91..5be1b2fba 100644 --- a/classes/db/Db.php +++ b/classes/db/Db.php @@ -546,8 +546,8 @@ abstract class DbCore else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) { if ($sql) - throw new PrestashopDatabaseException(Tools::displayError($this->getMsgError().'

'.$sql.'
')); - throw new PrestashopDatabaseException(Tools::displayError($this->getMsgError())); + throw new PrestashopDatabaseException($this->getMsgError().'

'.$sql.'
'); + throw new PrestashopDatabaseException($this->getMsgError()); } }