summaryrefslogtreecommitdiff
path: root/inc/display.php
diff options
context:
space:
mode:
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;