Skip to content

Commit

Permalink
Merge branch 'v3-dev' into v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Tam committed Sep 7, 2018
2 parents c200bb8 + d244e5c commit b61ee34
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 3.4.2 - 2018-09-07
### Fixed
- Fixed a bug when saving a new element with an SEO field.


## 3.4.1 - 2018-09-06
### Fixed
- Fixed a bug when adding a redirect to all sites.
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": "ether/seo",
"license": "MIT",
"description": "SEO utilities including a unique field type, sitemap, & redirect manager",
"version": "3.4.1",
"version": "3.4.2",
"type": "craft-plugin",
"minimum-stability": "dev",
"require": {
Expand Down
3 changes: 3 additions & 0 deletions src/fields/SeoField.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ public function getContentColumnType (): string

public function normalizeValue ($value, ElementInterface $element = null)
{
if ($value instanceof SeoData)
return $value;

if (is_string($value))
$value = Json::decodeIfJson($value);

Expand Down

0 comments on commit b61ee34

Please sign in to comment.