diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:51:41 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:51:41 +0100 |
| commit | c6b9954c7f1ef88e372747a855d1859868ff802f (patch) | |
| tree | 525cc1443c88fc135ab7ca64d20321e55214256c /compose.php | |
| parent | 465182f8a748c53cb9667146071d0fba6a90c3f8 (diff) | |
| download | messages-c6b9954c7f1ef88e372747a855d1859868ff802f.tar.gz messages-c6b9954c7f1ef88e372747a855d1859868ff802f.tar.bz2 messages-c6b9954c7f1ef88e372747a855d1859868ff802f.zip | |
php-cs-fixer tidies to php8.5 standards
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'compose.php')
| -rwxr-xr-x | compose.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compose.php b/compose.php index 2ef3f96..a230a73 100755 --- a/compose.php +++ b/compose.php @@ -50,7 +50,7 @@ if (!isset($_REQUEST['priority'])) $_REQUEST['priority'] = 3; if( !empty( $_REQUEST['action']['reply'] ) || !empty( $_REQUEST['action']['replyall'] ) ) { - $replyToUser = $gBitUser->getUserInfo( array( 'user_id' => $_REQUEST['replyto'] ) ); + $replyToUser = $gBitUser->getUserInfo( [ 'user_id' => $_REQUEST['replyto'] ] ); $_REQUEST['to'] = $replyToUser['login']; if( !empty( $_REQUEST['action']['replyall'] ) ) { $_REQUEST['cc'] = preg_replace( "/".$replyToUser['login'].",/", "", $_REQUEST['replyallto'] ); @@ -71,7 +71,7 @@ $gBitSmarty->assign('body', $_REQUEST['body']); $gBitSmarty->assign('priority', $_REQUEST['priority']); $gBitSmarty->assign('sent', 0); -$feedback = array(); +$feedback = []; $gBitSmarty->assign( 'feedback', $feedback ); if (isset($_REQUEST['replyto']) || isset($_REQUEST['replyallto'])) { |
