bug fix for non-image and spoiler thumbnails

This commit is contained in:
Savetheinternet 2011-10-04 03:07:20 +11:00
parent c887be655b
commit 514eb2aa84

View File

@ -373,10 +373,10 @@
($this->thumb == 'file' ? ' class="file"' : '') .
'><img src="' .
($this->thumb == 'file' ?
$config['file_thumb']
$config['root'] . $config['file_thumb']
:
($this->thumb == 'spoiler' ?
$config['spoiler_image']
$config['root'] . $config['spoiler_image']
:
$config['uri_thumb'] . $this->thumb
)
@ -546,10 +546,10 @@
($this->thumb == 'file' ? ' class="file"' : '') .
'><img src="' .
($this->thumb == 'file' ?
$config['file_thumb']
$config['root'] . $config['file_thumb']
:
($this->thumb == 'spoiler' ?
$config['spoiler_image']
$config['root'] . $config['spoiler_image']
:
$config['uri_thumb'] . $this->thumb
)