Code Duplication    Length = 1-1 lines in 4 locations

catalog/includes/modules/shipping/flat.php 1 location

@@ 63-63 (lines=1) @@
60
        $this->quotes['tax'] = tep_get_tax_rate($this->tax_class, $order->delivery['country']['id'], $order->delivery['zone_id']);
61
      }
62
63
      if (tep_not_null($this->icon)) $this->quotes['icon'] = HTML::image($this->icon, $this->title);
64
65
      return $this->quotes;
66
    }

catalog/includes/modules/shipping/item.php 1 location

@@ 65-65 (lines=1) @@
62
        $this->quotes['tax'] = tep_get_tax_rate($this->tax_class, $order->delivery['country']['id'], $order->delivery['zone_id']);
63
      }
64
65
      if (tep_not_null($this->icon)) $this->quotes['icon'] = HTML::image($this->icon, $this->title);
66
67
      return $this->quotes;
68
    }

catalog/includes/modules/shipping/table.php 1 location

@@ 82-82 (lines=1) @@
79
        $this->quotes['tax'] = tep_get_tax_rate($this->tax_class, $order->delivery['country']['id'], $order->delivery['zone_id']);
80
      }
81
82
      if (tep_not_null($this->icon)) $this->quotes['icon'] = HTML::image($this->icon, $this->title);
83
84
      return $this->quotes;
85
    }

catalog/includes/modules/shipping/zones.php 1 location

@@ 166-166 (lines=1) @@
163
        $this->quotes['tax'] = tep_get_tax_rate($this->tax_class, $order->delivery['country']['id'], $order->delivery['zone_id']);
164
      }
165
166
      if (tep_not_null($this->icon)) $this->quotes['icon'] = HTML::image($this->icon, $this->title);
167
168
      if ($error == true) $this->quotes['error'] = OSCOM::getDef('module_shipping_zones_invalid_zone');
169