summaryrefslogtreecommitdiff
path: root/edit.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-14 09:28:52 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-14 09:28:52 +0100
commit3cb0ce6c7e88d2b46847ad101c32969a50226739 (patch)
tree62632ef9b79b82777878eba5dbeb41c051d8aa58 /edit.php
parenta77efe016535086907ffd1d9f01f756333774583 (diff)
downloadarticles-3cb0ce6c7e88d2b46847ad101c32969a50226739.tar.gz
articles-3cb0ce6c7e88d2b46847ad101c32969a50226739.tar.bz2
articles-3cb0ce6c7e88d2b46847ad101c32969a50226739.zip
php-cs-fixer updates to php8.5 style
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 d0baabd..cb86263 100755
--- a/edit.php
+++ b/edit.php
@@ -72,7 +72,7 @@ if( !empty( $_REQUEST['save'] ) ) {
}
// Get a topic list
-$topics = BitArticleTopic::getTopicList( array( 'active_topic' => TRUE ) );
+$topics = BitArticleTopic::getTopicList( [ 'active_topic' => TRUE ] );
$gBitSmarty->assign( 'topics', $topics );
if ( !empty( $_REQUEST['topic'] ) ) {
$gBitSmarty->assign( 'topic', $_REQUEST['topic'] );
@@ -91,4 +91,4 @@ $gBitSmarty->assign( 'feedback', ( !empty( $feedback ) ? $feedback : NULL ) );
// Display the Index Template
$gBitSmarty->assign( 'show_page_bar', 'n' );
-$gBitSystem->display( 'bitpackage:articles/edit_article.tpl', KernelTools::tra( "Articles" ) , array( 'display_mode' => 'edit' ));
+$gBitSystem->display( 'bitpackage:articles/edit_article.tpl', KernelTools::tra( "Articles" ) , [ 'display_mode' => 'edit' ]);