Regenerate themes after editing a post

This commit is contained in:
Dan Saunders 2013-08-26 00:36:41 -04:00 committed by Michael Foster
parent 08bb2894bc
commit 00a1841cbc

View File

@ -1306,6 +1306,8 @@ function mod_edit_post($board, $edit_raw_html, $postID) {
}
buildIndex();
rebuildThemes('post', $board['uri']);
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 {