diff --git a/boot.php b/boot.php index 0fb8c01b9e..245fdc9035 100644 --- a/boot.php +++ b/boot.php @@ -673,7 +673,8 @@ function update_db(App $a) $build = Config::get('system', 'build'); if (empty($build)) { - $build = Config::set('system', 'build', DB_UPDATE_VERSION); + Config::set('system', 'build', DB_UPDATE_VERSION); + $build = DB_UPDATE_VERSION; } if ($build != DB_UPDATE_VERSION) {