summaryrefslogtreecommitdiff
path: root/inc/display.php
diff options
context:
space:
mode:
authorAppleman1234 <applemansigloo@gmail.com>2022-09-25 13:22:40 +1000
committerAppleman1234 <applemansigloo@gmail.com>2022-09-25 13:22:40 +1000
commit92561d7f36508b7e0271926e417adf0e2e53916b (patch)
treea8588b4f70af276c5acf58836e33b1f6ff5c61e8 /inc/display.php
parent6f1083e4b51fc9c4c594f6c72cf3d84ef4d0298b (diff)
Initial attempt a switch to composer and PHP-8.1 compatibility
Diffstat (limited to 'inc/display.php')
-rw-r--r--inc/display.php4
1 files changed, 2 insertions, 2 deletions
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;