Amasty multiple coupons bug fix for Magento 1.4.0.x

We installed the Amasty Mutiple Coupons extension for a client recently, but ran into a few hiccups immediately after installation. Fortunately, it is quickly fixed. In Amasty_Coupons_Model_Rewrite_Mysql4_Rule_Collection on line +62
+          if (version_compare(Mage::getVersion(), '1.4.1.0', '>='))
            $this->getSelect()->where('main_table.coupon_type = ?', Mage_SalesRule_Model_Rule::COUPON_TYPE_NO_COUPON);
[syntaxhighlighter]
  • Thank you for sharing. Please use the latest version which has all known issues fixed.