Skip to content
This repository has been archived by the owner on Jan 9, 2021. It is now read-only.

Commit

Permalink
Fixed an error which was being caused by update 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Nav33d committed Apr 15, 2019
1 parent dfe5cd6 commit 88abb8e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## 1.1.1 - 2019-04-15
### Fixed
- Fixed an error which was being caused by update 1.1.0

## 1.1.0 - 2019-04-13
### Added
- Ability to access relations in template
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": "nav33d/craft-relations",
"description": "A field type to show reverse related elements",
"type": "craft-plugin",
"version": "1.1.0",
"version": "1.1.1",
"keywords": [
"craft",
"cms",
Expand Down
9 changes: 9 additions & 0 deletions src/fields/Relations.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,13 @@ public function getInputHtml($value, ElementInterface $element = null): string
}


/**
* @inheritdoc
*/
public function serializeValue($value, ElementInterface $element = null)
{
return null;
}


}

0 comments on commit 88abb8e

Please sign in to comment.