summaryrefslogtreecommitdiff
path: root/inc/mod
diff options
context:
space:
mode:
authorctrlcctrlv <wizardchan@hush.com>2013-08-28 21:31:10 +0000
committerctrlcctrlv <wizardchan@hush.com>2013-08-28 21:31:10 +0000
commite34c0f4b65e7cefd2b88c55141090924e37f87ce (patch)
treec9e086c681bc563899ec6a3513859d8b8b28632e /inc/mod
parent8503e65858ce3145a11f8daec4104e3a7249c889 (diff)
Bugfix: Circlepuller is a dumbass and broke many mod actions, don't merge his commits without testing them
Diffstat (limited to 'inc/mod')
-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 8940f684..15bc0336 100644
--- a/inc/mod/pages.php
+++ b/inc/mod/pages.php
@@ -1350,7 +1350,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']);
@@ -1446,7 +1446,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']);
}
@@ -1468,7 +1468,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']);
@@ -1509,7 +1509,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']);