We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93288c0 commit 2b907adCopy full SHA for 2b907ad
app/code/core/Mage/Shipping/Model/Resource/Carrier/Tablerate.php
@@ -127,7 +127,7 @@ public function getRate(Mage_Shipping_Model_Rate_Request $request)
127
$conditions[] = "dest_country_id = '0' AND dest_region_id = '0' AND dest_zip = '*'";
128
129
$i = 0;
130
- $postcode = $request->getDestPostcode();
+ $postcode = (string)$request->getDestPostcode();
131
while (strlen($postcode) > 1) {
132
$i++;
133
$postcode = substr($postcode, 0, -1);
0 commit comments