summaryrefslogtreecommitdiff
path: root/templates/themes/recent/theme.php
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2014-04-27 16:19:41 +0200
committerczaks <marcin@6irc.net>2014-04-27 16:19:41 +0200
commit276a742bce3d4f1f00e41ebf16493ab13209e710 (patch)
treee76ed4ff194b7de83d16fc0cd60ed68939f487c5 /templates/themes/recent/theme.php
parenta236a173088cc93a84217bf5d8ad83aa919cd6bf (diff)
Revert "change `thumb` to `file` to overcome a nasty bug in upgrading"
This reverts commit b0faa1a7e40e1d193c64dcfcffd38cdb594c13a6.
Diffstat (limited to 'templates/themes/recent/theme.php')
-rw-r--r--templates/themes/recent/theme.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/themes/recent/theme.php b/templates/themes/recent/theme.php
index 315fb544..842ab9ac 100644
--- a/templates/themes/recent/theme.php
+++ b/templates/themes/recent/theme.php
@@ -61,7 +61,7 @@
// board settings won't be available in the template file, so generate links now
$post['link'] = $config['root'] . $board['dir'] . $config['dir']['res'] . sprintf($config['file_page'], ($post['thread'] ? $post['thread'] : $post['id'])) . '#' . $post['id'];
- if ($files) $post['src'] = $config['uri_thumb'] . $files[0]->file;
+ if ($files) $post['src'] = $config['uri_thumb'] . $files[0]->thumb;
$recent_images[] = $post;
}