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 | 72119ef864e1a5ffa377a504dc2ef430d7e6cd4a (patch) | |
| tree | 24a4b9539cf4f4b8116bd38d3444001843cb8e45 /edit_xref.php | |
| parent | 72312119fe678d14b61e3c508db98a6dd0ee4ec0 (diff) | |
| download | contact-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_xref.php')
| -rwxr-xr-x | edit_xref.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/edit_xref.php b/edit_xref.php index 16a0057..34f35b0 100755 --- a/edit_xref.php +++ b/edit_xref.php @@ -38,10 +38,10 @@ if (isset($_REQUEST["fCancel"])) { if( $gContent->storeXref( $_REQUEST ) ) { header("Location: ".$gContent->getDisplayUrl() ); die; - } else { + } $xrefInfo = $_REQUEST; $xrefInfo['data'] = &$_REQUEST['edit']; - } + } else if(isset( $_REQUEST["expunge"] ) ) { if( $gContent->stepXref( $_REQUEST ) ) { // if ( $_REQUEST['expunge'] > 2) { @@ -61,7 +61,7 @@ $gBitSmarty->assign( 'xref_title', $gContent->mInfo['xref_title'] ); $gBitSmarty->assign( 'errors', $gContent->mErrors ); if( isset($xrefInfo['template']) ) { - $gBitSystem->display( 'bitpackage:contact/edit_xref_'.$xrefInfo['template'].'.tpl', 'Edit: ' , array( 'display_mode' => 'edit' )); + $gBitSystem->display( 'bitpackage:contact/edit_xref_'.$xrefInfo['template'].'.tpl', 'Edit: ' , [ 'display_mode' => 'edit' ]); } else { - $gBitSystem->display( 'bitpackage:contact/edit_xref.tpl', 'Edit: ' , array( 'display_mode' => 'edit' )); + $gBitSystem->display( 'bitpackage:contact/edit_xref.tpl', 'Edit: ' , [ 'display_mode' => 'edit' ]); } |
