Index: uc_flatrate.module
===================================================================
--- uc_flatrate.module	2009-07-11 19:04:32 +0000
+++ uc_flatrate.module	(working copy)
@@ -57,7 +57,7 @@
     $result = db_query("SELECT mid, title, product_rate FROM {uc_flatrate_methods}");
     $context = array(
       'revision' => 'formatted',
-      'type' => 'amount',
+      'type' => 'shipping',
     );
     while ($method = db_fetch_object($result)) {
       if (!isset($form['shipping']['flatrate'])) {
@@ -207,7 +207,7 @@
   $mid = $method[1];
   $context = array(
     'revision' => 'altered',
-    'type' => 'amount',
+    'type' => 'shipping',
   );
 
   if ($method = db_fetch_object(db_query("SELECT * FROM {uc_flatrate_methods} WHERE mid = %d", $mid))) {
