Index: uc_product/uc_product.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/ubercart/uc_product/uc_product.module,v
retrieving revision 1.14.2.25
diff -u -p -r1.14.2.25 uc_product.module
--- uc_product/uc_product.module	7 May 2009 20:52:29 -0000	1.14.2.25
+++ uc_product/uc_product.module	12 May 2009 07:29:51 -0000
@@ -1018,6 +1018,8 @@ function uc_product_product_types() {
  * @see uc_product_image_defaults()
  */
 function uc_product_store_status() {
+  $status = 'warning';
+
   if (!module_exists('imagefield') || !module_exists('imagecache')) {
     $description = t('To automatically configure core image support, <a href="!url">enable</a> the <a href="http://drupal.org/project/cck">Content</a>, <a href="http://drupal.org/project/imagefield">CCK Image field</a>, and <a href="http://drupal.org/project/imagecache">Imagecache</a> modules.', array('!url' => url('admin/build/modules')));
   }
@@ -1067,7 +1069,6 @@ function uc_product_store_status() {
       $description = t('Product image support has been automatically configured by Ubercart.');
     }
     else {
-      $status = 'warning';
       $description = t('<a href="!url">Click here</a> to automatically configure the following items for core image support:', array('!url' => url('admin/store/settings/products/defaults')));
       if (!$field_check) {
         $items[] = t('The Image file field has not been created for products.');
Index: uc_store/uc_store.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/ubercart/uc_store/uc_store.module,v
retrieving revision 1.14.2.21
diff -u -p -r1.14.2.21 uc_store.module
--- uc_store/uc_store.module	7 May 2009 20:52:28 -0000	1.14.2.21
+++ uc_store/uc_store.module	12 May 2009 07:29:52 -0000
@@ -600,7 +600,7 @@ function theme_uc_admin_dashboard($type,
 
   $output = '<table class="uc-store-admin-table" align="center"><tr valign="top">';
 
-  $panels = 0;
+  $panel = 0;
   if (is_array($menus)) {
     foreach ($menus as $menu) {
       $panel++;
