summaryrefslogtreecommitdiff
path: root/inc/mod
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-08-27 17:27:17 +1000
committerMichael Foster <savetheinternet@tinyboard.org>2013-08-27 17:27:17 +1000
commit6ce78cb1a454e8556580eaf6b253e1111f848ac0 (patch)
tree52dfe33767d62cfce391f5770cada98627193530 /inc/mod
parentb96314ef23121f0ad030e75755ea85a0c25bbe49 (diff)
Bugfix: post editing: should be $board here, not $board['uri']
Diffstat (limited to 'inc/mod')
-rw-r--r--inc/mod/pages.php2
1 files changed, 1 insertions, 1 deletions
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 {