mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-12-02 02:57:26 +01:00
Moving threads wasn't working with the catalog theme enabled
This commit is contained in:
parent
545f469f3c
commit
7c06cd1f81
@ -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