diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:49:08 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:49:08 +0100 |
| commit | ef793a806a8d5a479c29c061780c56f62c4d3535 (patch) | |
| tree | dabe63be7a0cf383196bccfeb8743310e1d28fba /edit.php | |
| parent | 39508ee5ad8908fa720db48fcf7923f309fdce9d (diff) | |
| download | boards-ef793a806a8d5a479c29c061780c56f62c4d3535.tar.gz boards-ef793a806a8d5a479c29c061780c56f62c4d3535.tar.bz2 boards-ef793a806a8d5a479c29c061780c56f62c4d3535.zip | |
php-cs-fixer tidies to php8.5 standards
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'edit.php')
| -rwxr-xr-x | edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -36,7 +36,7 @@ if( isset( $_REQUEST['remove'] ) ) { if( empty( $_REQUEST['confirm'] ) ) { $formHash['b'] = $_REQUEST['b']; $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!' ) ); + $gBitSystem->confirmDialog( $formHash, [ '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( 'errors', $deleteComment->mErrors ); } else { @@ -74,5 +74,5 @@ if( !empty( $_REQUEST["save_bitboard"] ) ) { } // Display the template -$gBitSystem->display( 'bitpackage:boards/board_edit.tpl', tra('Board') , array( 'display_mode' => 'edit' )); +$gBitSystem->display( 'bitpackage:boards/board_edit.tpl', tra('Board') , [ 'display_mode' => 'edit' ]); ?> |
