diff --git a/inc/display.php b/inc/display.php index 9397b4a9..1a78e19b 100644 --- a/inc/display.php +++ b/inc/display.php @@ -353,7 +353,7 @@ class Post { $this->{$key} = $value; } - if (isset($this->files)) + if (isset($this->files) && $this->files) $this->files = json_decode($this->files); $this->subject = utf8tohtml($this->subject);