Autorespondermax_Autorespondermax - Version 11.0.6

Version Notes

Version 11.0.6

Download this release

Release Info

Developer Carson Reinke
Extension Autorespondermax_Autorespondermax
Version 11.0.6
Comparing to
See all releases


Code changes from version 11.0.5 to 11.0.6

app/code/community/Autorespondermax/Autorespondermax/Model/Api.php CHANGED
@@ -38,9 +38,31 @@ class Autorespondermax_Autorespondermax_Model_Api extends Mage_Api_Model_Resourc
38
  }
39
  }
40
 
 
 
 
41
  return $result;
42
  }
43
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  protected function _getStore($storeId) {
45
  try {
46
  return Mage::app()->getStore($storeId);
38
  }
39
  }
40
 
41
+ //Cleanup any invalid data
42
+ $this->_removeInvalidUTF8($result);
43
+
44
  return $result;
45
  }
46
 
47
+ /**
48
+ * @param array $array
49
+ * @return array
50
+ */
51
+ protected function _removeInvalidUTF8(&$array) {
52
+ foreach($array as $key => $value) {
53
+ if(is_array($value)) {
54
+ $this->_removeInvalidUTF8($value);
55
+ }
56
+ elseif(is_string($value)) {
57
+ #Check for valid UTF-8 characters
58
+ #See http://stackoverflow.com/questions/6723562/how-to-detect-malformed-utf-8-string-in-php
59
+ if(!preg_match('//u', $value)) {
60
+ $array[$key] = null;
61
+ }
62
+ }
63
+ }
64
+ }
65
+
66
  protected function _getStore($storeId) {
67
  try {
68
  return Mage::app()->getStore($storeId);
app/code/community/Autorespondermax/Autorespondermax/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Autorespondermax_Autorespondermax>
5
- <version>10.0.21</version>
6
  </Autorespondermax_Autorespondermax>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Autorespondermax_Autorespondermax>
5
+ <version>11.0.6</version>
6
  </Autorespondermax_Autorespondermax>
7
  </modules>
8
  <global>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Autorespondermax_Autorespondermax</name>
4
- <version>11.0.5</version>
5
  <stability>stable</stability>
6
  <license uri="https://autorespondermax.com/terms-of-service/">Autoresponder Max Terms Of Service</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Automatic email remarketing made easy</summary>
10
  <description>Provides an integration with Autoresponder Max to send remarketing emails.</description>
11
- <notes>Version 11.0.5</notes>
12
  <authors><author><name>Carson Reinke</name><user>armax1</user><email>it@autorespondermax.com</email></author></authors>
13
- <date>2014-11-24</date>
14
- <time>18:29:46</time>
15
- <contents><target name="magecommunity"><dir name="Autorespondermax"><dir name="Autorespondermax"><dir name="Block"><file name="Cart.php" hash="4d400b601aa4da5327ef6addec79e80b"/><dir name="Convert"><file name="Multishipping.php" hash="dc9c73cc1bdf747dcd5fae0a57dc175b"/><file name="Onepage.php" hash="011f0ec852171ca4b8ec84f895edf084"/></dir><dir name="System"><dir name="Config"><file name="AutocompleteOff.php" hash="9b0d701b5507233098e136df938fae50"/><file name="ConnectOrDisconnect.php" hash="de0f5fcbae957b28deb9e4c2672d31b4"/><file name="Readonly.php" hash="b3a454237a19eba7eca6a93f5ad54917"/></dir></dir></dir><dir name="Helper"><file name="Api.php" hash="3381c0aef723d2a895924363437c45db"/><file name="Curl.php" hash="980a7950f2b61ec981304d6b33139577"/><file name="Dashboard.php" hash="6982a8d8a0b1184aed2b7c1186091cd5"/><file name="Data.php" hash="cc3cc67aaca8e8cf543a80a431c6ea7f"/><file name="Track.php" hash="a2d34eb7be46370fba6411cdfb4f49ea"/></dir><dir name="Model"><file name="Api.php" hash="7b7a36ba25551040447d5a364108d007"/><dir name="Customer"><file name="Api.php" hash="4065f5a9bae528a1d2f38a44c5980bae"/></dir><dir name="General"><file name="Api.php" hash="be418a45090aaff6692e16f1ac2621d3"/></dir><file name="Observer.php" hash="d8c6cf6ac61cc859372b8f1fa83f3438"/><dir name="Product"><file name="Api.php" hash="cbc598d40e048ef98d5830e3b2232509"/></dir><dir name="Sales"><dir name="Order"><file name="Api.php" hash="23c8d41e5e5de6693f50da385b3aea78"/></dir><dir name="Quote"><file name="Api.php" hash="6382889ea9b658060e2b3604d42a7b8b"/></dir></dir><dir name="System"><dir name="Config"><file name="ConnectOrDisconnect.php" hash="bfeaeb7152944d04e31f2a7cd487a158"/><dir name="Form"><dir name="Field"><file name="Button.php" hash="6e749781f2fd8ede9b32ffa11d6badf8"/></dir></dir></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="59bd9b7e4e9dc58762915abe70a7ff11"/><file name="api.xml" hash="bcd37cd4e51595bb3e5328c255c51070"/><file name="config.xml" hash="88dced5cac8b2ad7a6563331907808f1"/><file name="system.xml" hash="d4c9c969f0c4071cb1259a438909b631"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="autorespondermax.xml" hash="09e47d31eb920a33ecaded8a93e15b9d"/></dir><dir name="template"><dir name="autorespondermax"><file name="cart.phtml" hash="e4d40ee73e8f493074836235ecc39c89"/><file name="convert.phtml" hash="3f6dbfa1d8ded02fb0bebf2d50cc0ce6"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Autorespondermax_Autorespondermax.xml" hash="3cbd2eb6af9c8b2c938934a0fb4481ab"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Autorespondermax_Autorespondermax</name>
4
+ <version>11.0.6</version>
5
  <stability>stable</stability>
6
  <license uri="https://autorespondermax.com/terms-of-service/">Autoresponder Max Terms Of Service</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Automatic email remarketing made easy</summary>
10
  <description>Provides an integration with Autoresponder Max to send remarketing emails.</description>
11
+ <notes>Version 11.0.6</notes>
12
  <authors><author><name>Carson Reinke</name><user>armax1</user><email>it@autorespondermax.com</email></author></authors>
13
+ <date>2014-12-11</date>
14
+ <time>16:31:15</time>
15
+ <contents><target name="magecommunity"><dir name="Autorespondermax"><dir name="Autorespondermax"><dir name="Block"><file name="Cart.php" hash="4d400b601aa4da5327ef6addec79e80b"/><dir name="Convert"><file name="Multishipping.php" hash="dc9c73cc1bdf747dcd5fae0a57dc175b"/><file name="Onepage.php" hash="011f0ec852171ca4b8ec84f895edf084"/></dir><dir name="System"><dir name="Config"><file name="AutocompleteOff.php" hash="9b0d701b5507233098e136df938fae50"/><file name="ConnectOrDisconnect.php" hash="de0f5fcbae957b28deb9e4c2672d31b4"/><file name="Readonly.php" hash="b3a454237a19eba7eca6a93f5ad54917"/></dir></dir></dir><dir name="Helper"><file name="Api.php" hash="3381c0aef723d2a895924363437c45db"/><file name="Curl.php" hash="980a7950f2b61ec981304d6b33139577"/><file name="Dashboard.php" hash="6982a8d8a0b1184aed2b7c1186091cd5"/><file name="Data.php" hash="cc3cc67aaca8e8cf543a80a431c6ea7f"/><file name="Track.php" hash="a2d34eb7be46370fba6411cdfb4f49ea"/></dir><dir name="Model"><file name="Api.php" hash="422a06e29b4e4807bacf32b42dedd848"/><dir name="Customer"><file name="Api.php" hash="4065f5a9bae528a1d2f38a44c5980bae"/></dir><dir name="General"><file name="Api.php" hash="be418a45090aaff6692e16f1ac2621d3"/></dir><file name="Observer.php" hash="d8c6cf6ac61cc859372b8f1fa83f3438"/><dir name="Product"><file name="Api.php" hash="cbc598d40e048ef98d5830e3b2232509"/></dir><dir name="Sales"><dir name="Order"><file name="Api.php" hash="23c8d41e5e5de6693f50da385b3aea78"/></dir><dir name="Quote"><file name="Api.php" hash="6382889ea9b658060e2b3604d42a7b8b"/></dir></dir><dir name="System"><dir name="Config"><file name="ConnectOrDisconnect.php" hash="bfeaeb7152944d04e31f2a7cd487a158"/><dir name="Form"><dir name="Field"><file name="Button.php" hash="6e749781f2fd8ede9b32ffa11d6badf8"/></dir></dir></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="59bd9b7e4e9dc58762915abe70a7ff11"/><file name="api.xml" hash="bcd37cd4e51595bb3e5328c255c51070"/><file name="config.xml" hash="a2a67122e7a53d5ac772170eaf7bc673"/><file name="system.xml" hash="d4c9c969f0c4071cb1259a438909b631"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="autorespondermax.xml" hash="09e47d31eb920a33ecaded8a93e15b9d"/></dir><dir name="template"><dir name="autorespondermax"><file name="cart.phtml" hash="e4d40ee73e8f493074836235ecc39c89"/><file name="convert.phtml" hash="3f6dbfa1d8ded02fb0bebf2d50cc0ce6"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Autorespondermax_Autorespondermax.xml" hash="3cbd2eb6af9c8b2c938934a0fb4481ab"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>