1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-30 02:04:35 +01:00

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 545f469f3c
commit 7c06cd1f81

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);