fix a bug reported by Dudeman on #v-d
This commit is contained in:
parent
4d7933deb8
commit
d78dcd6ed6
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user