Fontis_Australia - Version 1.2.4

Version Notes

Currently active are modules for BPAY, direct deposit, Australia Post, the addition of regions and postcodes, and the addition of ABN and phone number to the general configuration values (although currently not in use).

Download this release

Release Info

Developer Magento Core Team
Extension Fontis_Australia
Version 1.2.4
Comparing to
See all releases


Code changes from version 1.2.3 to 1.2.4

app/code/community/Fontis/Australia/Model/Shipping/Carrier/Australiapost.php CHANGED
@@ -344,7 +344,11 @@ class Fontis_Australia_Model_Shipping_Carrier_Australiapost
344
  foreach($drc_result as $vals)
345
  {
346
  $tokens = split("=", $vals);
347
- $result[$tokens[0]] = trim($tokens[1]);
 
 
 
 
348
  }
349
 
350
  return $result;
344
  foreach($drc_result as $vals)
345
  {
346
  $tokens = split("=", $vals);
347
+ if(isset($tokens[1])) {
348
+ $result[$tokens[0]] = trim($tokens[1]);
349
+ } else {
350
+ return array('err_msg' => 'Parsing error on Australia Post results');
351
+ }
352
  }
353
 
354
  return $result;
app/code/community/Fontis/Australia/etc/config.xml CHANGED
@@ -23,7 +23,7 @@
23
  <config>
24
  <modules>
25
  <Fontis_Australia>
26
- <version>1.2.3</version>
27
  <depends>
28
  <Mage_Shipping />
29
  <Mage_Payment />
23
  <config>
24
  <modules>
25
  <Fontis_Australia>
26
+ <version>1.2.4</version>
27
  <depends>
28
  <Mage_Shipping />
29
  <Mage_Payment />