From f12c4f6b8c528a6fbad305a37c01b2231140128e Mon Sep 17 00:00:00 2001 From: grandeljay Date: Thu, 11 Aug 2022 14:59:29 +0200 Subject: [PATCH] Fix uncaught TypeError --- src/classes/wish.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/classes/wish.php b/src/classes/wish.php index 06a32c30..cc92a554 100644 --- a/src/classes/wish.php +++ b/src/classes/wish.php @@ -109,8 +109,8 @@ class Wish } } - $this->title = Sanitiser::render($this->title); - $this->description = Sanitiser::render($this->description); + $this->title = Sanitiser::render($this->title ?? ''); + $this->description = Sanitiser::render($this->description ?? ''); } }