diff --git a/modules/backend/behaviors/FormController.php b/modules/backend/behaviors/FormController.php index 9f40933eb..b7e30f245 100644 --- a/modules/backend/behaviors/FormController.php +++ b/modules/backend/behaviors/FormController.php @@ -201,7 +201,10 @@ class FormController extends ControllerBehavior public function create_onSave($context = null) { $this->context = strlen($context) ? $context : $this->getConfig('create[context]', self::CONTEXT_CREATE); + $model = $this->controller->formCreateModelObject(); + $model = $this->controller->formExtendModel($model); + $this->initForm($model); $this->controller->formBeforeSave($model);