// removed useless Tools::displayError()
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11547 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+2
-2
@@ -546,8 +546,8 @@ abstract class DbCore
|
|||||||
else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
|
else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
|
||||||
{
|
{
|
||||||
if ($sql)
|
if ($sql)
|
||||||
throw new PrestashopDatabaseException(Tools::displayError($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>'));
|
throw new PrestashopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
|
||||||
throw new PrestashopDatabaseException(Tools::displayError($this->getMsgError()));
|
throw new PrestashopDatabaseException($this->getMsgError());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user