diff options
| author | lsces <lester@lsces.co.uk> | 2026-03-09 20:23:02 +0000 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2026-03-09 20:23:02 +0000 |
| commit | 27b224f36d0587e79447fce1e5cb62161005e616 (patch) | |
| tree | 065d8d1767672ad08cd3e3a3197e6630769b6f6b /topic_move.php | |
| parent | 23dd61e8cabda4b922e2ef28ad6a52db847f2cf0 (diff) | |
| download | boards-27b224f36d0587e79447fce1e5cb62161005e616.tar.gz boards-27b224f36d0587e79447fce1e5cb62161005e616.tar.bz2 boards-27b224f36d0587e79447fce1e5cb62161005e616.zip | |
As with articles, boards has had a blanket Smarty5 and PHP8.4 sweep of the code, but as yet this has not been tested. VSCode is currently saying the files are now clean.
Diffstat (limited to 'topic_move.php')
| -rwxr-xr-x[-rw-r--r--] | topic_move.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/topic_move.php b/topic_move.php index 4c4fefd..a1a8415 100644..100755 --- a/topic_move.php +++ b/topic_move.php @@ -7,7 +7,7 @@ /** * required setup */ -require_once( '../kernel/includes/setup_inc.php' ); +require_once '../kernel/includes/setup_inc.php'; // Is package installed and enabled $gBitSystem->verifyPackage( 'boards' ); @@ -44,7 +44,7 @@ if( isset( $_REQUEST["target"] ) ) { // get list of boards we can move the topic to $boards = $board->getBoardSelectList(); -$gBitSmarty->assignByRef('boards', $boards); +$gBitSmarty->assign('boards', $boards); $gBitSmarty->assign('fromBoardId', $board->mContentId); |
