diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:28:52 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:28:52 +0100 |
| commit | 3cb0ce6c7e88d2b46847ad101c32969a50226739 (patch) | |
| tree | 62632ef9b79b82777878eba5dbeb41c051d8aa58 /templates/center_list_articles.php | |
| parent | a77efe016535086907ffd1d9f01f756333774583 (diff) | |
| download | articles-3cb0ce6c7e88d2b46847ad101c32969a50226739.tar.gz articles-3cb0ce6c7e88d2b46847ad101c32969a50226739.tar.bz2 articles-3cb0ce6c7e88d2b46847ad101c32969a50226739.zip | |
php-cs-fixer updates to php8.5 style
Diffstat (limited to 'templates/center_list_articles.php')
| -rwxr-xr-x | templates/center_list_articles.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/center_list_articles.php b/templates/center_list_articles.php index 51c0607..f49fe9f 100755 --- a/templates/center_list_articles.php +++ b/templates/center_list_articles.php @@ -6,7 +6,6 @@ global $gBitSmarty, $gBitSystem, $gQueryUserId, $moduleParams, $gContent; // extract( $moduleParams->value ); //} - include_once( ARTICLES_PKG_INCLUDE_PATH.'lookup_article_inc.php' ); include_once( ARTICLES_PKG_INCLUDE_PATH.'article_filter_inc.php' ); @@ -48,7 +47,7 @@ $gBitSmarty->assign( 'showDescriptionsOnly', TRUE ); // display submissions if we have the perm to approve them if ( $gBitUser->hasPermission( 'p_articles_approve_submission' ) || ( $gBitSystem->isFeatureActive( 'articles_auto_approve' ) && $gBitUser->isRegistered() )) { - $listHash = array( 'status_id' => ARTICLE_STATUS_PENDING ); + $listHash = [ 'status_id' => ARTICLE_STATUS_PENDING ]; $submissions = $gContent->getList( $listHash ); $gBitSmarty->assign( 'submissions', $submissions ); } |
