Skip to content

Commit

Permalink
Fixed salesOrderShipmentTrackSaveAfter observer issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Marvin-Magmodules committed Dec 18, 2018
1 parent 3b769a6 commit 6ca27d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/code/community/Mollie/Mpm/Model/Observer.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,12 @@ public function salesOrderShipmentTrackSaveAfter(Varien_Event_Observer $observer
/** @var Mollie_Mpm_Helper_Data $mollieHelper */
$mollieHelper= Mage::helper('mpm');

/** @var Mage_Sales_Model_Order_Shipment $shipment */
$shipment = $observer->getEvent()->getShipment();

/** @var Mage_Sales_Model_Order_Shipment_Track $track */
$track = $observer->getEvent()->getTrack();

/** @var Mage_Sales_Model_Order_Shipment $shipment */
$shipment = $track->getShipment();

/** @var Mage_Sales_Model_Order $order */
$order = $shipment->getOrder();

Expand Down

0 comments on commit 6ca27d3

Please sign in to comment.