diff options
| author | czaks <marcin@6irc.net> | 2015-09-11 12:49:30 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2015-09-11 12:49:42 +0200 |
| commit | 6d4e75624063fe6077a654378af9763e32a1c0e8 (patch) | |
| tree | 6f9b3701e8bf5d45de377615ec153e48d350588e /inc | |
| parent | 8678716297923a6b65275d1ccc0c64e25483d8ae (diff) | |
fix a bug for some bad database state. thanks Seisatsu for testing
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/display.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/display.php b/inc/display.php index e7fb9320..90cf3434 100644 --- a/inc/display.php +++ b/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); |
