Commit 2cbe86fc authored by Laurent's avatar Laurent
Browse files

dev #56107 code indent

parent d6e1c2d2
......@@ -201,7 +201,6 @@ class Admin_WidgetController extends ZendAfi_Controller_Action {
$this->getResponse()->setHeader('Content-Type', 'application/json; charset=utf-8');
$this->getResponse()->setBody(json_encode(['content' => $html] ));
}
......@@ -209,7 +208,9 @@ class Admin_WidgetController extends ZendAfi_Controller_Action {
public function getFormAction() {
$module = Class_Systeme_ModulesAccueil::moduleByCode($this->_getParam('code'));
$form_class = $module->getForm();
$this->view->form = (new $form_class())->populate(array_merge( $module->getDefaultValues(),$this->_request->getPost()));
$this->view->form = (new $form_class())->populate(array_merge(
$module->getDefaultValues(),
$this->_request->getPost()));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment