Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

830
 
864
 
864
 
shipping.php
_> 11 <?php
  22 /*
<> 3 -  $Id: shipping.php 830 2006-08-29 12:44:39Z hpdl $
   3+  $Id: shipping.php 864 2006-08-30 01:21:58Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
141141                           'title' => $quote['module'] . ((empty($method['title']) === false) ? ' (' . $method['title'] . ')' : ''),
  142142                           'cost' => $method['cost'],
  143143                           'tax_class_id' => $quote['tax_class_id'],
<> 144 -                          'is_cheapest' => true);
   144+                          'is_cheapest' => false);
145145           }
  146146         }
  147147       }
  148148 
<>  149+      if (!empty($rate)) {
   150+        $rate['is_cheapest'] = true;
   151+      }
   152+
149153       return $rate;
  150154     }
  151155 
     
 !
177181         if (is_array($this->_modules)) {
  178182           $include_quotes = array();
  179183 
<> 180 -          if (defined('MODULE_SHIPPING_FREE_STATUS') && (MODULE_SHIPPING_FREE_STATUS == 'True') && $GLOBALS['osC_Shipping_free']->isEnabled()) {
   184+          if (defined('MODULE_SHIPPING_FREE_STATUS') && isset($GLOBALS['osC_Shipping_free']) && $GLOBALS['osC_Shipping_free']->isEnabled()) {
<_ 181185             $include_quotes[] = 'osC_Shipping_free';
  182186           } else {
  183187             foreach ($this->_modules as $module) {