From 276a742bce3d4f1f00e41ebf16493ab13209e710 Mon Sep 17 00:00:00 2001 From: czaks Date: Sun, 27 Apr 2014 16:19:41 +0200 Subject: [PATCH] Revert "change `thumb` to `file` to overcome a nasty bug in upgrading" This reverts commit b0faa1a7e40e1d193c64dcfcffd38cdb594c13a6. --- 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 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; }