diff options
| author | czaks <marcin@6irc.net> | 2015-03-10 13:23:40 +0100 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2015-03-10 13:23:40 +0100 |
| commit | 7d92a05bd8b283a79764e8ed5435661b9a8b27f2 (patch) | |
| tree | ef7743630f627ff7d65ff35122ea82cfb2a89854 | |
| parent | d690567b44464962b0f99c9c222ce4530b9b716e (diff) | |
...
| -rw-r--r-- | templates/themes/catalog/theme.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/themes/catalog/theme.php b/templates/themes/catalog/theme.php index b3b7caf7..f8f1146e 100644 --- a/templates/themes/catalog/theme.php +++ b/templates/themes/catalog/theme.php @@ -42,7 +42,7 @@ $board_name, $board_name, $board_name, $board_name, $board_name)) or error(db_error()); while ($post = $query->fetch(PDO::FETCH_ASSOC)) { - $post['link'] = $config['root'] . $board['dir'] . $config['dir']['res'] . link_for($post)); + $post['link'] = $config['root'] . $board['dir'] . $config['dir']['res'] . link_for($post); $post['board_name'] = $board['name']; if ($post['embed'] && preg_match('/^https?:\/\/(\w+\.)?(?:youtube\.com\/watch\?v=|youtu\.be\/)([a-zA-Z0-9\-_]{10,11})(&.+)?$/i', $post['embed'], $matches)) { |
