new_posts_ajax_stuff #1

Merged
0 merged 27 commits from new_posts_ajax_stuff into deploy_spamnoticer 2024-02-26 20:13:30 +00:00
1 changed files with 3 additions and 1 deletions
Showing only changes of commit cb7c818996 - Show all commits

View File

@ -395,8 +395,10 @@ class Post extends PostProps {
$this->$key = $value;
}
if (isset($this->files) && $this->files)
if (isset($this->files) && $this->files
&& is_string($this->files)) {
$this->files = @json_decode($this->files);
}
$this->subject = utf8tohtml($this->subject);
$this->name = utf8tohtml($this->name);