Upgrade to 4.2.0
This commit is contained in:
@@ -219,7 +219,7 @@ class KirbyTag
|
||||
*/
|
||||
public function parent(): ModelWithContent|null
|
||||
{
|
||||
return $this->data['parent'];
|
||||
return $this->data['parent'] ?? null;
|
||||
}
|
||||
|
||||
public function render(): string
|
||||
|
Reference in New Issue
Block a user