Corrected wrong handling of the return value
This commit is contained in:
parent
1e7e83510a
commit
2e2a2b8040
1 changed files with 2 additions and 1 deletions
3
boot.php
3
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) {
|
||||
|
|
Loading…
Reference in a new issue