Index: uc_catalog.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/ubercart/uc_catalog/uc_catalog.module,v
retrieving revision 1.15.2.17
diff -u -p -r1.15.2.17 uc_catalog.module
--- uc_catalog.module	28 May 2009 20:49:19 -0000	1.15.2.17
+++ uc_catalog.module	29 Jun 2009 21:02:24 -0000
@@ -337,19 +337,22 @@ function uc_catalog_form_alter(&$form, &
       '#weight' => 0,
     );
     $image = uc_catalog_image_load($form['tid']['#value']);
+    $imagecache = module_exists('imagecache');
     if ($image) {
-      if (module_exists('imagecache')) {
+      if ($imagecache) {
         $image_display = theme('imagecache', 'uc_category', $image->filepath);
       }
       else {
         $image_display = theme('image', $image->filename, t('Term image'));
-        $form['identification']['image']['image']['#description'] = t('The image will not be resized. Consider installing <a href="@url">Image cache</a>.', array('@url' => url('http://drupal.org/project/imagecache')));
       }
       $form['identification']['image']['remove'] = array('#type' => 'checkbox',
         '#title' => t('Remove category image: !image', array('!image' => $image_display)),
         '#weight' => 1,
       );
     }
+    if (!$imagecache) {
+      $form['identification']['image']['image']['#description'] = t('The image will not be resized. Consider installing <a href="@url">Image cache</a>.', array('@url' => url('http://drupal.org/project/imagecache')));
+    }
 
     $form['identification']['description']['#description'] = t('A description of the term. Displayed to customers at the top of catalog pages.');
   }
