From d78dcd6ed6efefba9b67529663610b62e8b38228 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20=C5=81abanowski?= Date: Thu, 21 Aug 2014 04:27:25 +0200 Subject: [PATCH] fix a bug reported by Dudeman on #v-d --- inc/display.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);