From 92561d7f36508b7e0271926e417adf0e2e53916b Mon Sep 17 00:00:00 2001 From: Appleman1234 Date: Sun, 25 Sep 2022 13:22:40 +1000 Subject: Initial attempt a switch to composer and PHP-8.1 compatibility --- inc/display.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc/display.php') diff --git a/inc/display.php b/inc/display.php index 05f91c2b..f702d7f8 100644 --- a/inc/display.php +++ b/inc/display.php @@ -367,8 +367,8 @@ class Thread { if (isset($this->files)) $this->files = @json_decode($this->files); - $this->subject = utf8tohtml($this->subject); - $this->name = utf8tohtml($this->name); + $this->subject = utf8tohtml($this->subject ?? ""); + $this->name = utf8tohtml($this->name ?? ""); $this->mod = $mod; $this->root = $root; $this->hr = $hr; -- cgit v1.3