From 00a1841cbc6fb76cd96c51142a3a1b86a073d58a Mon Sep 17 00:00:00 2001 From: Dan Saunders Date: Mon, 26 Aug 2013 00:36:41 -0400 Subject: [PATCH] Regenerate themes after editing a post --- inc/mod/pages.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 5ee8221b..3305e0c2 100644 --- a/inc/mod/pages.php +++ b/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 {