Skip to content

Commit

Permalink
version 2.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
engram-design committed Jan 8, 2020
1 parent 86ad959 commit a0d594b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 2.1.2 - 2020-01-09

### Fixed
- Fix `registerAdjuster` = `afterTax` not working correctly.

## 2.1.1 - 2020-01-09

### Added
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "verbb/gift-voucher",
"description": "Plugin for Craft Commerce implementing gift vouchers.",
"type": "craft-plugin",
"version": "2.1.1",
"version": "2.1.2",
"keywords": [
"craft",
"cms",
Expand Down
2 changes: 1 addition & 1 deletion src/GiftVoucher.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ private function _registerAdjusters()

$event->types = $types;
} elseif ($settings->registerAdjuster === 'afterTax') {
$types[] = GiftVoucherAdjuster::class;
$event->types[] = GiftVoucherAdjuster::class;
}
});
}
Expand Down

0 comments on commit a0d594b

Please sign in to comment.