Fix: substitute deprecated string interning syntax

This commit is contained in:
Zankaria
2024-04-03 19:16:56 +02:00
parent c3de90075e
commit c91c58ed07
2 changed files with 5 additions and 5 deletions

View File

@@ -1280,7 +1280,7 @@ function mod_move_reply($originBoard, $postID) {
// trigger themes
rebuildThemes('post', $targetBoard);
// 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);
// return to original board
openBoard($originBoard);
@@ -1457,7 +1457,7 @@ function mod_move($originBoard, $postID) {
}
}
modLog("Moved thread #${postID} to " . sprintf($config['board_abbreviation'], $targetBoard) . " (#${newID})", $originBoard);
modLog("Moved thread #{$postID} to " . sprintf($config['board_abbreviation'], $targetBoard) . " (#{$newID})", $originBoard);
// build new thread
buildThread($newID);