summaryrefslogtreecommitdiff
path: root/edit_notes.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-14 09:51:41 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-14 09:51:41 +0100
commit72119ef864e1a5ffa377a504dc2ef430d7e6cd4a (patch)
tree24a4b9539cf4f4b8116bd38d3444001843cb8e45 /edit_notes.php
parent72312119fe678d14b61e3c508db98a6dd0ee4ec0 (diff)
downloadcontact-72119ef864e1a5ffa377a504dc2ef430d7e6cd4a.tar.gz
contact-72119ef864e1a5ffa377a504dc2ef430d7e6cd4a.tar.bz2
contact-72119ef864e1a5ffa377a504dc2ef430d7e6cd4a.zip
php-cs-fixer tidies to php8.5 standards
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'edit_notes.php')
-rwxr-xr-xedit_notes.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/edit_notes.php b/edit_notes.php
index 72d0e15..8b2e0e4 100755
--- a/edit_notes.php
+++ b/edit_notes.php
@@ -42,11 +42,11 @@ for ( $n = 0; $n < $mbox->size(); $n++ ) {
$subject = $matches[1];
echo 'Mail #' . $n . ': ' . $subject . "<br>";
$Decoder = new Mail_mimeDecode( $message );
- $params = array(
+ $params = [
'include_bodies' => true,
'decode_bodies' => true,
'decode_headers' => true,
- );
+ ];
$Decoded = $Decoder->decode( $params );
if ($Decoded->ctype_primary == "multipart") {
\Bitweaver\vd( $Decoded->parts[0]->ctype_primary );
@@ -76,4 +76,4 @@ $gBitSmarty->assign( 'errors', $gContent->mErrors );
$gBitSmarty->assign( (!empty( $_REQUEST['tab'] ) ? $_REQUEST['tab'] : 'body').'TabSelect', 'tdefault' );
$gBitSmarty->assign('show_page_bar', 'y');
-$gBitSystem->display( 'bitpackage:contact/edit.tpl', 'Edit: ' , array( 'display_mode' => 'edit' ));
+$gBitSystem->display( 'bitpackage:contact/edit.tpl', 'Edit: ' , [ 'display_mode' => 'edit' ]);