Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Typecase array Closes #506.

  • Loading branch information...
commit 0db108ab695f55a34af656ee523e2f378925a57b 1 parent b5c8609
@mikejolley mikejolley authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  classes/tax.class.php
View
2  classes/tax.class.php
@@ -85,7 +85,7 @@ function get_tax_rates() {
$parsed_rates[$rate['country']][$rate['state']][$rate['class']][$index] = array(
'label' => $rate['label'],
'rate' => $rate['rate'],
- 'postcode' => array_map('strtoupper', $rate['postcode']),
+ 'postcode' => array_map('strtoupper', (array) $rate['postcode']),
'shipping' => $rate['shipping'],
'compound' => $rate['compound']
);
Please sign in to comment.
Something went wrong with that request. Please try again.