Browse Source

Regenerate themes after editing a post

pull/40/head
Dan Saunders 11 years ago
committed by Michael Foster
parent
commit
00a1841cbc
  1. 2
      inc/mod/pages.php

2
inc/mod/pages.php

@ -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 {

Loading…
Cancel
Save