From 921fa400956f883b3472c6edcc0f15e5b36feccf Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 4 Jul 2021 18:27:21 +0200 Subject: [PATCH] formatting fixes, bug fixes and support impl. --- Models/Tag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Models/Tag.php b/Models/Tag.php index 384cedd..d474543 100755 --- a/Models/Tag.php +++ b/Models/Tag.php @@ -165,7 +165,7 @@ class Tag implements \JsonSerializable, ArrayableInterface { if ($title instanceof TagL11n) { $this->title = $title; - } elseif ($this->title instanceof TagL11n) { + } elseif (isset($this->title) && $this->title instanceof TagL11n) { $this->title->title = $title; } else { $this->title = new TagL11n();