From 585029dbca4b5003a1c4ecda0557f653e2421958 Mon Sep 17 00:00:00 2001 From: towards-a-new-leftypol Date: Mon, 12 Aug 2024 16:54:19 -0400 Subject: [PATCH] Fix a rebuilding when moving (targetBoard -> originBoard) --- 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 4e56f427..53ce3eca 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -1501,7 +1501,7 @@ function mod_move($originBoard, $postID) { } else { deletePost($postID); buildIndex(); - rebuildThemes('post', $targetBoard); + rebuildThemes('post', $originBoard); openBoard($targetBoard); header('Location: ?/' . sprintf($config['board_path'], $newboard['uri']) . $config['dir']['res'] . link_for($op, false, $newboard), true, $config['redirect_http']);