Moving threads wasn't working with the catalog theme enabled
This commit is contained in:
parent
e34c0f4b65
commit
b829d19ec7
@ -1073,7 +1073,7 @@ function mod_move_reply($originBoard, $postID) {
|
|||||||
buildThread($newID);
|
buildThread($newID);
|
||||||
|
|
||||||
// trigger themes
|
// trigger themes
|
||||||
rebuildThemes('post');
|
rebuildThemes('post', $targetBoard);
|
||||||
// mod log
|
// mod log
|
||||||
modLog("Moved post #${postID} to " . sprintf($config['board_abbreviation'], $targetBoard) . " (#${newID})", $originBoard);
|
modLog("Moved post #${postID} to " . sprintf($config['board_abbreviation'], $targetBoard) . " (#${newID})", $originBoard);
|
||||||
|
|
||||||
@ -1245,7 +1245,7 @@ function mod_move($originBoard, $postID) {
|
|||||||
buildIndex();
|
buildIndex();
|
||||||
|
|
||||||
// trigger themes
|
// trigger themes
|
||||||
rebuildThemes('post');
|
rebuildThemes('post', $targetBoard);
|
||||||
|
|
||||||
// return to original board
|
// return to original board
|
||||||
openBoard($originBoard);
|
openBoard($originBoard);
|
||||||
|
Loading…
Reference in New Issue
Block a user