=== modified file 'shipping/uc_ups/uc_ups.module'
--- shipping/uc_ups/uc_ups.module	2009-04-18 01:05:58 +0000
+++ shipping/uc_ups/uc_ups.module	2009-04-20 14:16:18 +0000
@@ -812,7 +812,7 @@
           if (user_access('configure quotes') && variable_get('uc_quote_display_debug', FALSE)) {
             $quotes[$ups_service]['error'][] = (string)$error->ErrorSeverity .' '. (string)$error->ErrorCode .': '. (string)$error->ErrorDescription;
           }
-          if ((string)$error->ErrorSeverity == 'HardError') {
+          if (strpos((string)$error->ErrorSeverity, 'Hard') !== FALSE) {
             // All or nothing quote. If some products can't be shipped by
             // a certain service, no quote is given for that service. If
             // that means no quotes are given at all, they'd better call in.
@@ -1039,7 +1039,7 @@
     $error_msg = (string)$error->ErrorSeverity .' Error '. (string)$error->ErrorCode .': '. (string)$error->ErrorDescription;
     drupal_set_message($error_msg, 'error');
     //drupal_set_message('<pre>'. print_r($_SESSION['ups']['packages'], TRUE) .'</pre>' . htmlentities($request) .' <br /><br /> '. htmlentities($response->data));
-    if ((string)$error->ErrorSeverity == 'HardError') {
+    if (strpos((string)$error->ErrorSeverity, 'Hard') !== FALSE) {
       return NULL;
     }
   }

