From 88abb8e89a97e37259cd0ecf41a4154785576fd6 Mon Sep 17 00:00:00 2001 From: Naveed Date: Mon, 15 Apr 2019 18:26:01 +0100 Subject: [PATCH] Fixed an error which was being caused by update 1.1.0 --- CHANGELOG.md | 4 ++++ composer.json | 2 +- src/fields/Relations.php | 9 +++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 568ef24..78719d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/composer.json b/composer.json index 24c43b5..81524a0 100644 --- a/composer.json +++ b/composer.json @@ -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", diff --git a/src/fields/Relations.php b/src/fields/Relations.php index 2fbc381..3678f44 100644 --- a/src/fields/Relations.php +++ b/src/fields/Relations.php @@ -74,4 +74,13 @@ public function getInputHtml($value, ElementInterface $element = null): string } + /** + * @inheritdoc + */ + public function serializeValue($value, ElementInterface $element = null) + { + return null; + } + + }