summaryrefslogtreecommitdiff
path: root/edit.php
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2016-02-07 16:52:14 +0000
committerlsces <lester@lsces.co.uk>2016-02-07 16:52:14 +0000
commitec5f7a975915b9ef49499fc0ad063c5ecb8cdfd3 (patch)
treeacf78aeabb74725e27e61e2e245274f70f6e894a /edit.php
parentc3f0281d2755f78664f7541dce3a8c85706dc7d1 (diff)
downloadboards-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.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/edit.php b/edit.php
index 409143b..14c202c 100644
--- a/edit.php
+++ b/edit.php
@@ -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 );
}
}