Commit e06cd356 authored by drumm's avatar drumm

#208700 by pwolanin. Fix bad backport of #194579. Modified to use Form API.

parent 14aaee4a
......@@ -604,8 +604,9 @@ function filter_admin_configure() {
if (!empty($form)) {
$form = system_settings_form($form);
$form['format'] = array('#type' => 'hidden', '#value' => $format->format);
$form['#submit'][] = 'filter_admin_configure_submit';
$form['format'] = array('#type' => 'hidden', '#value' => $format);
$form['#submit']['system_settings_form_submit'] = array();
$form['#submit']['filter_admin_configure_submit'] = array();
}
else {
$form['error'] = array('#value' => t('No settings are available.'));
......
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