mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-12 01:50:48 +01:00
fix a bug for some bad database state. thanks Seisatsu for testing
This commit is contained in:
parent
8678716297
commit
6d4e756240
@ -354,7 +354,7 @@ class Post {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (isset($this->files) && $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);
|
||||||
$this->name = utf8tohtml($this->name);
|
$this->name = utf8tohtml($this->name);
|
||||||
@ -404,7 +404,7 @@ class Thread {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (isset($this->files))
|
if (isset($this->files))
|
||||||
$this->files = json_decode($this->files);
|
$this->files = @json_decode($this->files);
|
||||||
|
|
||||||
$this->subject = utf8tohtml($this->subject);
|
$this->subject = utf8tohtml($this->subject);
|
||||||
$this->name = utf8tohtml($this->name);
|
$this->name = utf8tohtml($this->name);
|
||||||
|
Loading…
Reference in New Issue
Block a user