summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2026-04-16 10:57:35 +0100
committerlsces <lester@lsces.co.uk>2026-04-16 10:57:35 +0100
commita77efe016535086907ffd1d9f01f756333774583 (patch)
tree2f5770f281515fd878fb7e72cb7203cace57cc87 /includes
parent195287f3bb3d66051c9c37f1031ccccdd0588199 (diff)
downloadarticles-a77efe016535086907ffd1d9f01f756333774583.tar.gz
articles-a77efe016535086907ffd1d9f01f756333774583.tar.bz2
articles-a77efe016535086907ffd1d9f01f756333774583.zip
PHP8.4 style tweaksV5-php84
Diffstat (limited to 'includes')
-rwxr-xr-xincludes/classes/BitArticle.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/classes/BitArticle.php b/includes/classes/BitArticle.php
index 2c3323a..5cce917 100755
--- a/includes/classes/BitArticle.php
+++ b/includes/classes/BitArticle.php
@@ -682,7 +682,7 @@ class BitArticle extends LibertyMime
if ( @$this->verifyId( $pArticleId ) ) {
$sql = "UPDATE `".BIT_DB_PREFIX."articles` SET `status_id` = ? WHERE `article_id` = ?";
- $rs = $this->mDb->query( $sql, array( $pStatusId, $pArticleId ));
+ $rs = $this->mDb->query( $sql, [ $pStatusId, $pArticleId ]);
// Calling the index function for approved articles ...
if ( $gBitSystem->isPackageActive( 'search' ) ) {
include_once( SEARCH_PKG_PATH.'refresh_functions.php' );