From 2448b7bf8c7cf3130b4f4102ff8e5940224d5b0b Mon Sep 17 00:00:00 2001 From: Asturyan Date: Thu, 20 Mar 2014 16:18:30 +0100 Subject: [PATCH] Fix "Undefined variable: ex" --- core/lib/Thelia/Controller/Admin/AbstractCrudController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/lib/Thelia/Controller/Admin/AbstractCrudController.php b/core/lib/Thelia/Controller/Admin/AbstractCrudController.php index eeafe6a6c..8bce71bd1 100644 --- a/core/lib/Thelia/Controller/Admin/AbstractCrudController.php +++ b/core/lib/Thelia/Controller/Admin/AbstractCrudController.php @@ -287,6 +287,7 @@ abstract class AbstractCrudController extends BaseAdminController // Error (Default: false) $error_msg = false; + $ex = new \Exception(); // Create the Creation Form $creationForm = $this->getCreationForm($this->getRequest()); @@ -384,6 +385,7 @@ abstract class AbstractCrudController extends BaseAdminController // Error (Default: false) $error_msg = false; + $ex = new \Exception(); // Create the Form from the request $changeForm = $this->getUpdateForm($this->getRequest());