Skip to content
Browse files

Typecase array Closes #506.

  • Loading branch information...
1 parent b5c8609 commit 0db108ab695f55a34af656ee523e2f378925a57b @mikejolley mikejolley committed Jan 17, 2012
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']
);

0 comments on commit 0db108a

Please sign in to comment.
Something went wrong with that request. Please try again.