From 98fabd98be04787bab0d60c069718c28d77e517e Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei <kontakt@beberlei.de> Date: Tue, 12 Jul 2011 22:50:21 +0200 Subject: [PATCH] DDC-1240 - Fix optimistic lock exception loosing the message --- lib/Doctrine/ORM/OptimisticLockException.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Doctrine/ORM/OptimisticLockException.php b/lib/Doctrine/ORM/OptimisticLockException.php index 028698cd8..9b5147aae 100644 --- a/lib/Doctrine/ORM/OptimisticLockException.php +++ b/lib/Doctrine/ORM/OptimisticLockException.php @@ -33,6 +33,7 @@ class OptimisticLockException extends ORMException public function __construct($msg, $entity) { + parent::__construct($msg); $this->entity = $entity; }