summaryrefslogtreecommitdiff
path: root/ajax_attachment_browser.php
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2025-08-27 15:15:48 +0100
committerlsces <lester@lsces.co.uk>2025-08-27 15:15:48 +0100
commit407bc340dc419e4448656764ac95e9d90482a867 (patch)
treeec3d499580a631213610c101e88ee0a546e9989a /ajax_attachment_browser.php
parent6e4c7248e7e20a203b2047dfba7af9fc068d9c42 (diff)
downloadliberty-407bc340dc419e4448656764ac95e9d90482a867.tar.gz
liberty-407bc340dc419e4448656764ac95e9d90482a867.tar.bz2
liberty-407bc340dc419e4448656764ac95e9d90482a867.zip
Kernel functions changes to cover uninitialized variables and style changes for PHP8.4
Diffstat (limited to 'ajax_attachment_browser.php')
-rwxr-xr-x[-rw-r--r--]ajax_attachment_browser.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/ajax_attachment_browser.php b/ajax_attachment_browser.php
index dd04d74..50cee62 100644..100755
--- a/ajax_attachment_browser.php
+++ b/ajax_attachment_browser.php
@@ -8,14 +8,14 @@
/**
* required setup
*/
-require_once( '../kernel/includes/setup_inc.php' );
+require_once '../kernel/includes/setup_inc.php';
global $gContent, $gBitSmarty;
$gContent = new LibertyMime();
if( isset( $_REQUEST['content_id'] )) {
$gContent->mContentId = $_REQUEST['content_id'];
}
-$gBitSmarty->assign( 'attachmentBrowser', TRUE );
+$gBitSmarty->assign( 'attachmentBrowser', true );
include_once( LIBERTY_PKG_PATH.'attachment_browser.php' );
if( isset( $_REQUEST['json'] )){