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());