summaryrefslogtreecommitdiff
path: root/edit.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-14 09:49:08 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-14 09:49:08 +0100
commitef793a806a8d5a479c29c061780c56f62c4d3535 (patch)
treedabe63be7a0cf383196bccfeb8743310e1d28fba /edit.php
parent39508ee5ad8908fa720db48fcf7923f309fdce9d (diff)
downloadboards-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-xedit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/edit.php b/edit.php
index 563413b..a5114ce 100755
--- a/edit.php
+++ b/edit.php
@@ -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' ]);
?>