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; }