summaryrefslogtreecommitdiff
path: root/attachment_browser.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 /attachment_browser.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 'attachment_browser.php')
-rwxr-xr-xattachment_browser.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/attachment_browser.php b/attachment_browser.php
index dc4bda0..48f8059 100755
--- a/attachment_browser.php
+++ b/attachment_browser.php
@@ -32,10 +32,10 @@ if (isset($_REQUEST['attachment_id']) && is_numeric($_REQUEST['attachment_id']))
}else{
// we want a list of user attachments
$listHash = $_REQUEST;
- $listHash = array(
- 'page' => BitBase::verifyId( $_REQUEST['pgnPage'] ?? 0 ) ? $_REQUEST['pgnPage'] : null,
+ $listHash = [
+ 'page' => BitBase::verifyId( $_REQUEST['pgnPage'] ?? 0 ) ? $_REQUEST['pgnPage'] : null,
'load_attached_to' => true,
- );
+ ];
$userAttachments = $gBitUser->getUserAttachments( $listHash );
// Fake the storage assignment for edit_storage_list.tpl