diff --git a/app/code/community/TIG/MyParcel2014/Model/Sales/Order.php b/app/code/community/TIG/MyParcel2014/Model/Sales/Order.php index 9a110e1e..81ad5466 100755 --- a/app/code/community/TIG/MyParcel2014/Model/Sales/Order.php +++ b/app/code/community/TIG/MyParcel2014/Model/Sales/Order.php @@ -11,7 +11,7 @@ */ if (file_exists(Mage::getBaseDir() . '/app/code/community/MDN/AdvancedStock/Model/Sales/Order.php') && class_exists('MDN_AdvancedStock_Model_Sales_Order')) { class TIG_MyParcel2014_Model_Sales_Order_OverrideCheck extends MDN_AdvancedStock_Model_Sales_Order { } - } else if (class_exists('Emagicone_Mobassistantconnector_Model_Order')) { + } else if (file_exists(Mage::getBaseDir() . '/app/code/community/Emagicone/Mobassistantconnector/Model/Sales/Order.php') && class_exists('Emagicone_Mobassistantconnector_Model_Order')) { class TIG_MyParcel2014_Model_Sales_Order_OverrideCheck extends Emagicone_Mobassistantconnector_Model_Order { } } else { class TIG_MyParcel2014_Model_Sales_Order_OverrideCheck extends Mage_Sales_Model_Order { } @@ -68,4 +68,4 @@ public function getShippingAddress() { return false; } - } \ No newline at end of file + } diff --git a/app/code/community/TIG/MyParcel2014/etc/config.xml b/app/code/community/TIG/MyParcel2014/etc/config.xml index a482ea59..7b415833 100755 --- a/app/code/community/TIG/MyParcel2014/etc/config.xml +++ b/app/code/community/TIG/MyParcel2014/etc/config.xml @@ -2,7 +2,7 @@ - 1.13.3 + 1.13.4