diff options
| author | czaks <marcin@6irc.net> | 2014-04-27 16:05:38 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-04-27 16:05:38 +0200 |
| commit | b0faa1a7e40e1d193c64dcfcffd38cdb594c13a6 (patch) | |
| tree | cecb0ef0317f3fd07932ce28b6bfe27010f9a925 /templates | |
| parent | 28b9584a7bfd311adfa256f44d8207ccd26c61b0 (diff) | |
change `thumb` to `file` to overcome a nasty bug in upgrading
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 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; } |
