Skip to content

Commit

Permalink
Fixed #65
Browse files Browse the repository at this point in the history
  • Loading branch information
Tam committed Dec 18, 2017
1 parent c285996 commit 409f12f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 3.1.3 - 2017-12-18
### Fixed
- Map fields no longer cause global sets to fail to save!

## 3.1.2 - 2017-12-18
### Fixed
- Fixed settings not translating for non-English languages
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ether/simplemap",
"description": "A beautifully simple Google Map field type.",
"version": "3.1.2",
"version": "3.1.3",
"type": "craft-plugin",
"license": "MIT",
"minimum-stability": "dev",
Expand Down
2 changes: 1 addition & 1 deletion src/fields/MapField.php
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ public function normalizeValue ($value, ElementInterface $element = null)
public function getElementValidationRules (): array
{
return [
MapValidator::class,
[MapValidator::class, 'on' => Element::SCENARIO_LIVE],
];
}

Expand Down

0 comments on commit 409f12f

Please sign in to comment.