Index: filter.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/filter.module,v
retrieving revision 1.77
diff -u -r1.77 filter.module
--- filter.module	22 Oct 2005 15:14:46 -0000	1.77
+++ filter.module	28 Oct 2005 18:52:56 -0000
@@ -752,8 +752,8 @@
 
   $extra = l(t('More information about formatting options'), 'filter/tips');
 
-  $form['format'] = array('#type' => 'fieldset', '#title' => t('Input format'), '#collapsible' => TRUE, '#collapsed' => TRUE, '#weight' => -4);
   if (count($formats) > 1) {
+    $form['format'] = array('#type' => 'fieldset', '#title' => t('Input format'), '#collapsible' => TRUE, '#collapsed' => TRUE, '#weight' => -4);
     // Multiple formats available: display radio buttons with tips.
     foreach ($formats as $format) {
       $form['format'][$format->format] = array('#type' => 'filter_format', '#title' => $format->name, '#default_value' => $value, '#return_value' => $format->format, '#parents' => array('format'), '#description' => theme('filter_tips', _filter_tips($format->format, false)), '#valid' => 'filter_form');
