Commit 489903fd authored by Dries's avatar Dries

- Bugfix: the filter tips contained a non-existing ID which resulted in invalid XHTML code.

parent a56f9b5c
......@@ -642,7 +642,7 @@ function filter_form($name = 'format', $value = FILTER_FORMAT_DEFAULT) {
$output .= theme('filter_tips', $tips);
$output .= '</div>';
}
return theme('form_element', t('Input format'), $output, $extra, $name, _form_get_error($name));
return theme('form_element', t('Input format'), $output, $extra, NULL, _form_get_error($name));
}
else {
// Only one format available: use a hidden form item and only show tips.
......
......@@ -642,7 +642,7 @@ function filter_form($name = 'format', $value = FILTER_FORMAT_DEFAULT) {
$output .= theme('filter_tips', $tips);
$output .= '</div>';
}
return theme('form_element', t('Input format'), $output, $extra, $name, _form_get_error($name));
return theme('form_element', t('Input format'), $output, $extra, NULL, _form_get_error($name));
}
else {
// Only one format available: use a hidden form item and only show tips.
......
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