From 7e4af642c93da5af9889211cff169c901e35d6b8 Mon Sep 17 00:00:00 2001 From: Lester Caine Date: Thu, 14 May 2026 09:54:15 +0100 Subject: php-cs-fixer tidies to php8.5 standards Co-Authored-By: Claude Sonnet 4.6 --- structure_add_content.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'structure_add_content.php') 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' ]); -- cgit v1.3