fix syntax error
This commit is contained in:
@@ -335,7 +335,7 @@ abstract class AbstractCrudController extends BaseAdminController
|
|||||||
$error_msg = $ex->getMessage();
|
$error_msg = $ex->getMessage();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (false !=== $error_msg) {
|
if (false !== $error_msg) {
|
||||||
$this->setupFormErrorContext(
|
$this->setupFormErrorContext(
|
||||||
$this->getTranslator()->trans("%obj creation", array('%obj' => $this->objectName)),
|
$this->getTranslator()->trans("%obj creation", array('%obj' => $this->objectName)),
|
||||||
$error_msg,
|
$error_msg,
|
||||||
@@ -437,7 +437,7 @@ abstract class AbstractCrudController extends BaseAdminController
|
|||||||
$error_msg = $ex->getMessage();*/
|
$error_msg = $ex->getMessage();*/
|
||||||
}
|
}
|
||||||
|
|
||||||
if (false !=== $error_msg) {
|
if (false !== $error_msg) {
|
||||||
// At this point, the form has errors, and should be redisplayed.
|
// At this point, the form has errors, and should be redisplayed.
|
||||||
$this->setupFormErrorContext(
|
$this->setupFormErrorContext(
|
||||||
$this->getTranslator()->trans("%obj modification", array('%obj' => $this->objectName)),
|
$this->getTranslator()->trans("%obj modification", array('%obj' => $this->objectName)),
|
||||||
|
|||||||
Reference in New Issue
Block a user