diff --git a/main/admin/configure_homepage.php b/main/admin/configure_homepage.php index 5994204b48..c8ed981fdb 100644 --- a/main/admin/configure_homepage.php +++ b/main/admin/configure_homepage.php @@ -1,4 +1,4 @@ -add_html_editor('link_html'); + $form->add_html_editor('link_html', ''); } $form->addElement('html', ''); $form->addElement('submit', null, get_lang('Save')); @@ -804,7 +804,7 @@ switch($action){ $form->addElement('html', $html); } else { $default[$name] = str_replace('{rel_path}', api_get_path(REL_PATH), $open); - $form->add_html_editor($name); + $form->add_html_editor($name, ''); } $form->addElement('submit', null, get_lang('Save')); $form->setDefaults($default);