From 6ce78cb1a454e8556580eaf6b253e1111f848ac0 Mon Sep 17 00:00:00 2001 From: Michael Foster Date: Tue, 27 Aug 2013 17:27:17 +1000 Subject: [PATCH] Bugfix: post editing: should be $board here, not $board['uri'] --- inc/mod/pages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 3305e0c2..105061e9 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -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 {