diff --git a/CHANGELOG.md b/CHANGELOG.md index dca1924..0d6448b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # SEOmatic Changelog +## 1.1.56 - 2017.11.10 +### Changed +* Fixed a regression that would cause field sources to not appear in the SEOmatic FieldType + ## 1.1.55 - 2017.11.05 ### Added * Added the ability to disable locales via the `config.php` file, for multi-site reasons diff --git a/SeomaticPlugin.php b/SeomaticPlugin.php index d8ab188..9bb143b 100755 --- a/SeomaticPlugin.php +++ b/SeomaticPlugin.php @@ -26,7 +26,7 @@ public function getReleaseFeedUrl() public function getVersion() { - return '1.1.55'; + return '1.1.56'; } public function getSchemaVersion() diff --git a/fieldtypes/Seomatic_MetaFieldType.php b/fieldtypes/Seomatic_MetaFieldType.php index 664913e..69b6fcb 100755 --- a/fieldtypes/Seomatic_MetaFieldType.php +++ b/fieldtypes/Seomatic_MetaFieldType.php @@ -145,7 +145,7 @@ public function getInputHtml($name, $value) { $field = craft()->fields->getFieldById($fieldLayout->fieldId); - if (!empty($field->handle) && !empty($fieldList[$field->handle])) { + if (!empty($field) && !empty($field->handle)) { switch ($field->type) { case "PlainText": case "RichText": diff --git a/releases.json b/releases.json index f45d2d6..dbd9806 100644 --- a/releases.json +++ b/releases.json @@ -1,4 +1,12 @@ [ + { + "version": "1.1.56", + "downloadUrl": "https://github.com/nystudio107/seomatic/archive/master.zip", + "date": "2017-11-10T11:00:00-11:00", + "notes": [ + "[Fixed] Fixed a regression that would cause field sources to not appear in the SEOmatic FieldType" + ] + }, { "version": "1.1.55", "downloadUrl": "https://github.com/nystudio107/seomatic/archive/master.zip",