diff options
| author | czaks <marcin@6irc.net> | 2014-04-27 16:19:41 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-04-27 16:19:41 +0200 |
| commit | 276a742bce3d4f1f00e41ebf16493ab13209e710 (patch) | |
| tree | e76ed4ff194b7de83d16fc0cd60ed68939f487c5 /templates | |
| parent | a236a173088cc93a84217bf5d8ad83aa919cd6bf (diff) | |
Revert "change `thumb` to `file` to overcome a nasty bug in upgrading"
This reverts commit b0faa1a7e40e1d193c64dcfcffd38cdb594c13a6.
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/themes/recent/theme.php | 2 |
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; } |
