summaryrefslogtreecommitdiff
path: root/list_content.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-14 09:54:15 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-14 09:54:15 +0100
commit7e4af642c93da5af9889211cff169c901e35d6b8 (patch)
tree9fd6433fcf8e763c97fd8499b2f13e88312bf3ce /list_content.php
parentb463af3dd0d69bf659bd0820bd07bebd6358f74c (diff)
downloadliberty-7e4af642c93da5af9889211cff169c901e35d6b8.tar.gz
liberty-7e4af642c93da5af9889211cff169c901e35d6b8.tar.bz2
liberty-7e4af642c93da5af9889211cff169c901e35d6b8.zip
php-cs-fixer tidies to php8.5 standards
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'list_content.php')
-rwxr-xr-xlist_content.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/list_content.php b/list_content.php
index 35fde0d..d52d474 100755
--- a/list_content.php
+++ b/list_content.php
@@ -53,7 +53,7 @@ if( !empty( $_POST ) ) {
}
if( !empty( $delUsers ) ) {
$feedback['success'][] = KernelTools::tra( 'Content deleted' ).": <ul>$delUsers</ul>";
- }
+ }
if( !empty( $errDelUsers ) ) {
$feedback['error'][] = KernelTools::tra( 'Content not deleted' ).": <ul>$errDelUsers</ul>";
}
@@ -79,7 +79,7 @@ $contentListHash['listInfo']['ihash']['content_type_guid'] = $contentSelect;
$contentListHash['listInfo']['ihash']['user_id'] = BitBase::verifyId( $_REQUEST['user_id'] ?? 0 ) ? $_REQUEST['user_id'] : null;
$contentListHash['listInfo']['ihash']['find'] = $contentListHash['listInfo']['find'];
$gBitSmarty->assign( 'listInfo', $contentListHash['listInfo'] );
-$gBitSmarty->assign( 'content_type_guids', isset( $_REQUEST['content_type_guid'] ) ? $_REQUEST['content_type_guid'] : null );
+$gBitSmarty->assign( 'content_type_guids', $_REQUEST['content_type_guid'] ?? null );
//depricate 'ajax_xml', use 'output'
//@todo clean out from other packages