Skip to content

Commit

Permalink
Fix integration error preventing coupon codes to be applied.
Browse files Browse the repository at this point in the history
  • Loading branch information
david-fuehr committed Jan 22, 2019
1 parent fa7fb54 commit 18c8bb5
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,10 @@ public function setValidationFilter(
$allAllowedRules = $this->getConnection()->select();
$allAllowedRules->union([$noCouponRules, $couponRules], \Zend_Db_Select::SQL_UNION_ALL);

$this->_select = $allAllowedRules;
$wrapper = $this->getConnection()->select();
$wrapper->from($allAllowedRules);

$this->_select = $wrapper;
} else {
$this->_select = $noCouponRules;
}
Expand Down

0 comments on commit 18c8bb5

Please sign in to comment.