Browse Source

Fixed spoiler images in the catalog theme.

pull/40/head
marlencrabapple 10 years ago
parent
commit
14cd12ff2a
  1. 3
      templates/themes/catalog/theme.php

3
templates/themes/catalog/theme.php

@ -65,6 +65,9 @@
$post['file'] = $config['image_deleted'];
}
}
else if($files[0]->thumb == 'spoiler') {
$post['file'] = '/' . $config['spoiler_image'];
}
else {
$post['file'] = $config['uri_thumb'] . $files[0]->thumb;
}

Loading…
Cancel
Save