summaryrefslogtreecommitdiff
path: root/inc/mod/pages.php
diff options
context:
space:
mode:
authorctrlcctrlv <wizardchan@hush.com>2013-08-28 21:31:10 +0000
committerMichael Foster <savetheinternet@tinyboard.org>2013-08-29 07:32:29 +1000
commit3b5561d1a40076121c332f9c83de0c8fafda0693 (patch)
tree79a73e2a01fecb7c0d55f60b77e71f85cb3474f2 /inc/mod/pages.php
parent7a4e481333c3ab39ea63c2d961a7c05016b12460 (diff)
Bugfix: Circlepuller is a dumbass and broke many mod actions, don't merge his commits without testing them
Diffstat (limited to 'inc/mod/pages.php')
-rw-r--r--inc/mod/pages.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/inc/mod/pages.php b/inc/mod/pages.php
index 105061e9..bba16d6d 100644
--- a/inc/mod/pages.php
+++ b/inc/mod/pages.php
@@ -1242,7 +1242,7 @@ function mod_ban_post($board, $delete, $post, $token = false) {
// Rebuild board
buildIndex();
// Rebuild themes
- rebuildThemes('post-delete', $board['uri']);
+ rebuildThemes('post-delete', $board);
}
header('Location: ?/' . sprintf($config['board_path'], $board) . $config['file_index'], true, $config['redirect_http']);
@@ -1338,7 +1338,7 @@ function mod_delete($board, $post) {
// Rebuild board
buildIndex();
// Rebuild themes
- rebuildThemes('post-delete', $board['uri']);
+ rebuildThemes('post-delete', $board);
// Redirect
header('Location: ?/' . sprintf($config['board_path'], $board) . $config['file_index'], true, $config['redirect_http']);
}
@@ -1360,7 +1360,7 @@ function mod_deletefile($board, $post) {
// Rebuild board
buildIndex();
// Rebuild themes
- rebuildThemes('post-delete', $board['uri']);
+ rebuildThemes('post-delete', $board);
// Redirect
header('Location: ?/' . sprintf($config['board_path'], $board) . $config['file_index'], true, $config['redirect_http']);
@@ -1401,7 +1401,7 @@ function mod_spoiler_image($board, $post) {
buildIndex();
// Rebuild themes
- rebuildThemes('post-delete', $board['uri']);
+ rebuildThemes('post-delete', $board);
// Redirect
header('Location: ?/' . sprintf($config['board_path'], $board) . $config['file_index'], true, $config['redirect_http']);