diff options
| author | lsces <lester@lsces.co.uk> | 2026-04-16 10:57:35 +0100 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2026-04-16 10:57:35 +0100 |
| commit | a77efe016535086907ffd1d9f01f756333774583 (patch) | |
| tree | 2f5770f281515fd878fb7e72cb7203cace57cc87 /includes | |
| parent | 195287f3bb3d66051c9c37f1031ccccdd0588199 (diff) | |
| download | articles-a77efe016535086907ffd1d9f01f756333774583.tar.gz articles-a77efe016535086907ffd1d9f01f756333774583.tar.bz2 articles-a77efe016535086907ffd1d9f01f756333774583.zip | |
PHP8.4 style tweaksV5-php84
Diffstat (limited to 'includes')
| -rwxr-xr-x | includes/classes/BitArticle.php | 2 |
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' ); |
