Fix "Undefined variable: ex"

This commit is contained in:
Asturyan
2014-03-20 16:18:30 +01:00
parent cecfa28940
commit 2448b7bf8c

View File

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