From 0d5c6d9bd384faa58761a786d86543733140f720 Mon Sep 17 00:00:00 2001 From: rGaillard Date: Tue, 11 Sep 2012 09:20:14 +0000 Subject: [PATCH] // PSCFV-3990 --- 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; + } }