From 6f848e87ea224d49c76ea1308d289e0732646f33 Mon Sep 17 00:00:00 2001 From: rGaillard Date: Tue, 11 Sep 2012 09:20:14 +0000 Subject: [PATCH] // PSCFV-3990 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17275 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/exception/PrestaShopDatabaseException.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/classes/exception/PrestaShopDatabaseException.php b/classes/exception/PrestaShopDatabaseException.php index e45afdb4e..2bda9e8bd 100644 --- a/classes/exception/PrestaShopDatabaseException.php +++ b/classes/exception/PrestaShopDatabaseException.php @@ -30,6 +30,9 @@ */ class PrestaShopDatabaseExceptionCore extends PrestaShopException { - + public function __toString() + { + return $this->message; + } }