Skip to content

Commit

Permalink
phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
fballiano committed Feb 21, 2024
1 parent 820723f commit 4df7142
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public function getRate(Mage_Shipping_Model_Rate_Request $request)
while (strlen($postcode) > 1) {
$i++;
$postcode = substr($postcode, 0, -1);
$bind[':wildcard_postcode_'.$i] = "{$postcode}*";
$bind[':wildcard_postcode_' . $i] = "{$postcode}*";
$conditions[] = "dest_country_id = :country_id AND dest_region_id = :region_id AND dest_zip = :wildcard_postcode_{$i}";
$conditions[] = "dest_country_id = :country_id AND dest_region_id = '0' AND dest_zip = :wildcard_postcode_{$i}";
$conditions[] = "dest_country_id = '0' AND dest_region_id = :region_id AND dest_zip = :wildcard_postcode_{$i}";
Expand Down

0 comments on commit 4df7142

Please sign in to comment.