diff options
| author | Marcin Ćabanowski <marcin@6irc.net> | 2014-08-21 04:27:25 +0200 |
|---|---|---|
| committer | root <root@lanceq.pl> | 2014-08-21 04:27:47 +0200 |
| commit | d78dcd6ed6efefba9b67529663610b62e8b38228 (patch) | |
| tree | b65e6154e2c13dc293fed48f82f26d287218f4cf | |
| parent | 4d7933deb8516a96690cd42f0780dbaca2ab7bb7 (diff) | |
fix a bug reported by Dudeman on #v-d
| -rw-r--r-- | inc/display.php | 2 |
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); |
