Index: taxonomy_image.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/taxonomy_image/taxonomy_image.module,v retrieving revision 1.12.4.13.2.26 diff -u -r1.12.4.13.2.26 taxonomy_image.module --- taxonomy_image.module 5 Jan 2009 18:08:53 -0000 1.12.4.13.2.26 +++ taxonomy_image.module 13 Jan 2009 10:21:23 -0000 @@ -490,6 +490,11 @@ function taxonomy_image_form_alter(&$form, &$form_state, $form_id) { switch ($form_id) { case 'taxonomy_form_term': + + // Don't show Term-Image fieldset if we're deleting this term + if ($form_state['confirm_delete']) + return; + $preview = @taxonomy_image_display($form['tid']['#value']); $form['#attributes'] = array('enctype' => 'multipart/form-data'); $form['taxonomy_image'] = array(