Moving threads wasn't working with the catalog theme enabled

This commit is contained in:
ctrlcctrlv 2013-08-29 00:38:39 +00:00
parent e34c0f4b65
commit b829d19ec7

View File

@ -1073,7 +1073,7 @@ function mod_move_reply($originBoard, $postID) {
buildThread($newID);
// trigger themes
rebuildThemes('post');
rebuildThemes('post', $targetBoard);
// mod log
modLog("Moved post #${postID} to " . sprintf($config['board_abbreviation'], $targetBoard) . " (#${newID})", $originBoard);
@ -1245,7 +1245,7 @@ function mod_move($originBoard, $postID) {
buildIndex();
// trigger themes
rebuildThemes('post');
rebuildThemes('post', $targetBoard);
// return to original board
openBoard($originBoard);