Skip to content
This repository has been archived by the owner on Jun 1, 2018. It is now read-only.

Commit

Permalink
Updated module version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Santiagoebizmarts committed Mar 1, 2017
1 parent 90be54f commit d8f6154
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/code/community/Ebizmarts/MageMonkey/Model/Observer.php
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ public function registerCheckoutSubscribeWithSagePay(Varien_Event_Observer $obse
}
$post = $observer->getEvent()->getPost();
$oneStep = Mage::app()->getRequest()->getModuleName() == 'onestepcheckout';
$subscribe = '';
$subscribe = null;
$monkeyPost = null;
if (isset($post['magemonkey_subscribe']) && isset($post['list'])) {
$monkeyPost = array('magemonkey_subscribe' => $post['magemonkey_subscribe'], 'list' => $post['list']);
Expand Down Expand Up @@ -385,6 +385,7 @@ public function registerCheckoutSubscribe(Varien_Event_Observer $observer)
if (Mage::app()->getRequest()->isPost()) {
$post = Mage::app()->getRequest()->getPost();
$monkeyPost = null;
$subscribe = null;
if (isset($post['magemonkey_subscribe']) && isset($post['list'])) {
$monkeyPost = array('magemonkey_subscribe' => $post['magemonkey_subscribe'], 'list' => $post['list']);
$subscribe = $post['magemonkey_subscribe'];
Expand Down

0 comments on commit d8f6154

Please sign in to comment.