1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-29 09:44:28 +01:00

Bugfix: post editing: should be $board here, not $board['uri']

This commit is contained in:
Michael Foster 2013-08-27 17:27:17 +10:00
parent e2ddcae74a
commit f09c31e3f2

View File

@ -1307,7 +1307,7 @@ function mod_edit_post($board, $edit_raw_html, $postID) {
buildIndex();
rebuildThemes('post', $board['uri']);
rebuildThemes('post', $board);
header('Location: ?/' . sprintf($config['board_path'], $board) . $config['dir']['res'] . sprintf($config['file_page'], $post['thread'] ? $post['thread'] : $postID) . '#' . $postID, true, $config['redirect_http']);
} else {