Browse Source

fix a bug for some bad database state. thanks Seisatsu for testing

pull/40/head
czaks 7 years ago
parent
commit
6d4e756240
  1. 4
      inc/display.php

4
inc/display.php

@ -354,7 +354,7 @@ class Post {
}
if (isset($this->files) && $this->files)
$this->files = json_decode($this->files);
$this->files = @json_decode($this->files);
$this->subject = utf8tohtml($this->subject);
$this->name = utf8tohtml($this->name);
@ -404,7 +404,7 @@ class Thread {
}
if (isset($this->files))
$this->files = json_decode($this->files);
$this->files = @json_decode($this->files);
$this->subject = utf8tohtml($this->subject);
$this->name = utf8tohtml($this->name);

Loading…
Cancel
Save