diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:54:15 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:54:15 +0100 |
| commit | 7e4af642c93da5af9889211cff169c901e35d6b8 (patch) | |
| tree | 9fd6433fcf8e763c97fd8499b2f13e88312bf3ce /structure_add_content.php | |
| parent | b463af3dd0d69bf659bd0820bd07bebd6358f74c (diff) | |
| download | liberty-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 'structure_add_content.php')
| -rwxr-xr-x | structure_add_content.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/structure_add_content.php b/structure_add_content.php index 9921bf7..eb3ca79 100755 --- a/structure_add_content.php +++ b/structure_add_content.php @@ -33,9 +33,9 @@ if( !empty( $_SERVER['HTTP_REFERER'] ) ) { if( $gBitThemes->isAjaxRequest() ) { header( 'Content-Type: text/html; charset=utf-8' ); - print $gBitSmarty->fetch( "bitpackage:liberty/structure_add_feedback_inc.tpl" ); + print $gBitSmarty->fetch( "bitpackage:liberty/structure_add_feedback_inc.tpl" ); exit; -} else { +} $_REQUEST['thumbnail_size'] = 'icon'; include_once( LIBERTY_PKG_INCLUDE_PATH.'get_content_list_inc.php' ); @@ -62,6 +62,5 @@ if( $gBitThemes->isAjaxRequest() ) { bit_redirect( $gContent->getDisplayUri() ); } } - $gBitSystem->display( 'bitpackage:liberty/structure_add_content.tpl', "Add Content" , array( 'display_mode' => 'display' )); -} + $gBitSystem->display( 'bitpackage:liberty/structure_add_content.tpl', "Add Content" , [ 'display_mode' => 'display' ]); |
