fix a bug reported by Dudeman on #v-d

This commit is contained in:
Marcin Łabanowski 2014-08-21 04:27:25 +02:00 committed by root
parent 4d7933deb8
commit d78dcd6ed6

View File

@ -353,7 +353,7 @@ class Post {
$this->{$key} = $value; $this->{$key} = $value;
} }
if (isset($this->files)) if (isset($this->files) && $this->files)
$this->files = json_decode($this->files); $this->files = json_decode($this->files);
$this->subject = utf8tohtml($this->subject); $this->subject = utf8tohtml($this->subject);