Bugfix: post editing: should be $board here, not $board['uri']
This commit is contained in:
parent
b96314ef23
commit
6ce78cb1a4
@ -1307,7 +1307,7 @@ function mod_edit_post($board, $edit_raw_html, $postID) {
|
|||||||
|
|
||||||
buildIndex();
|
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']);
|
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 {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user