diff options
Diffstat (limited to 'modules/mod_recent_posts.php')
| -rwxr-xr-x[-rw-r--r--] | modules/mod_recent_posts.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mod_recent_posts.php b/modules/mod_recent_posts.php index b677497..99af120 100644..100755 --- a/modules/mod_recent_posts.php +++ b/modules/mod_recent_posts.php @@ -32,7 +32,7 @@ if( !empty( $module_params['b'] ) ) { } elseif( !empty( $_REQUEST['b'] ) && empty( $module_params['all_boards'] ) ) { $listHash['board_id'] = $_REQUEST['b']; } -$_template->tpl_vars['modRecentPostsBoardId'] = new Smarty_variable( !empty( $listHash['board_id'] ) ); +$gBitSmarty->assign( 'modRecentPostsBoardId', !empty( $listHash['board_id'] ) ); if( BitBase::verifyId( $gQueryUserId ) ) { $listHash['user_id'] = $gQueryUserId; @@ -40,7 +40,7 @@ if( BitBase::verifyId( $gQueryUserId ) ) { $post = new BitBoardPost(); if( $postList = $post->getList( $listHash ) ) { - $_template->tpl_vars['modLastBoardPosts'] = new Smarty_variable( $postList ); + $gBitSmarty->assign( 'modLastBoardPosts', $postList ); } ?> |
