Skip to content

Commit

Permalink
Dev: Update stg_value should be outside of if-statement in updatedb h…
Browse files Browse the repository at this point in the history
…elper
  • Loading branch information
olleharstedt committed Jan 14, 2020
1 parent b0e85ca commit ae8f7bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/update/updatedb_helper.php
Expand Up @@ -3055,8 +3055,8 @@ function db_upgrade_all($iOldDBVersion, $bSilent = false)
$oQuestionTheme->importManifest($sXMLDirectoryPath, true);
};
}
$oDB->createCommand()->update('{{settings_global}}', array('stg_value' => 425), "stg_name='DBVersion'");
}
$oDB->createCommand()->update('{{settings_global}}', array('stg_value' => 425), "stg_name='DBVersion'");
$oTransaction->commit();
}
} catch (Exception $e) {
Expand Down

0 comments on commit ae8f7bd

Please sign in to comment.