From 5005b83ea1cafbed4361462fa3fea649f9a95cf4 Mon Sep 17 00:00:00 2001 From: Lester Caine Date: Mon, 18 May 2026 11:30:47 +0100 Subject: Ensure current bitweaver version in database --- includes/install_packages.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/includes/install_packages.php b/includes/install_packages.php index 3401d76..44c037a 100755 --- a/includes/install_packages.php +++ b/includes/install_packages.php @@ -473,9 +473,10 @@ if( !empty( $_REQUEST['cancel'] ) ) { // ---------------------- 7. ---------------------- // Do stuff that only applies during the first install $gBitInstaller->StartTrans(); + // Always update the global bitweaver_version to the current fork baseline + $gBitSystem->storeVersion( NULL, BITWEAVER_VERSION ); + if( isset( $_SESSION['first_install'] ) && $_SESSION['first_install'] == TRUE ) { - // set the version of bitweaver in the database - $gBitSystem->storeVersion( NULL, $gBitSystem->getBitVersion() ); // Some packages have some special things to take care of here. foreach( $gBitInstaller->mInstallModules as $mod ) { -- cgit v1.3