diff options
| author | lsces <lester@lsces.co.uk> | 2016-02-07 16:52:14 +0000 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2016-02-07 16:52:14 +0000 |
| commit | ec5f7a975915b9ef49499fc0ad063c5ecb8cdfd3 (patch) | |
| tree | acf78aeabb74725e27e61e2e245274f70f6e894a /edit.php | |
| parent | c3f0281d2755f78664f7541dce3a8c85706dc7d1 (diff) | |
| download | boards-ec5f7a975915b9ef49499fc0ad063c5ecb8cdfd3.tar.gz boards-ec5f7a975915b9ef49499fc0ad063c5ecb8cdfd3.tar.bz2 boards-ec5f7a975915b9ef49499fc0ad063c5ecb8cdfd3.zip | |
Move from Smarty2 to Smarty3 function style
Diffstat (limited to 'edit.php')
| -rw-r--r-- | edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -38,7 +38,7 @@ if( isset( $_REQUEST['remove'] ) ) { $formHash['remove'] = TRUE; $gBitSystem->confirmDialog( $formHash, array( 'warning' => tra( 'Are you sure you want to remove the entire message board' ).' "'.$gContent->getTitle().'" ?', 'error' => 'This cannot be undone!' ) ); } elseif( !$gContent->expunge() ) { - $gBitSmarty->assign_by_ref( 'errors', $deleteComment->mErrors ); + $gBitSmarty->assignByRef( 'errors', $deleteComment->mErrors ); } else { bit_redirect( BOARDS_PKG_URL.'index.php' ); } @@ -69,7 +69,7 @@ if( !empty( $_REQUEST["save_bitboard"] ) ) { $gContent->storePreference( 'board_sync_list_address', (!empty( $_REQUEST['bitboardconfig']['board_sync_list_address'] ) ? $_REQUEST['bitboardconfig']['board_sync_list_address'] : NULL) ); bit_redirect( $gContent->getDisplayUrl() ); } else { - $gBitSmarty->assign_by_ref( 'errors', $gContent->mErrors ); + $gBitSmarty->assignByRef( 'errors', $gContent->mErrors ); } } |
