From b0faa1a7e40e1d193c64dcfcffd38cdb594c13a6 Mon Sep 17 00:00:00 2001 From: czaks Date: Sun, 27 Apr 2014 16:05:38 +0200 Subject: [PATCH] change `thumb` to `file` to overcome a nasty bug in upgrading --- templates/themes/recent/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/themes/recent/theme.php b/templates/themes/recent/theme.php index 842ab9ac..315fb544 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]->thumb; + if ($files) $post['src'] = $config['uri_thumb'] . $files[0]->file; $recent_images[] = $post; }