Skip to content

Commit

Permalink
Fixed a regression that would cause field sources to not appear in th…
Browse files Browse the repository at this point in the history
…e SEOmatic FieldType

Signed-off-by: Andrew Welch <andrew@nystudio107.com>
  • Loading branch information
khalwat committed Nov 10, 2017
1 parent c5cf4e5 commit caba6c1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
4 changes: 4 additions & 0 deletions 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
Expand Down
2 changes: 1 addition & 1 deletion SeomaticPlugin.php
Expand Up @@ -26,7 +26,7 @@ public function getReleaseFeedUrl()

public function getVersion()
{
return '1.1.55';
return '1.1.56';
}

public function getSchemaVersion()
Expand Down
2 changes: 1 addition & 1 deletion fieldtypes/Seomatic_MetaFieldType.php
Expand Up @@ -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":
Expand Down
8 changes: 8 additions & 0 deletions 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",
Expand Down

0 comments on commit caba6c1

Please sign in to comment.