summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/display.php2
1 files changed, 1 insertions, 1 deletions
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);