From: Michael Date: Fri, 22 Dec 2017 14:51:50 +0000 (+0000) Subject: Corrected wrong handling of the return value X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2e2a2b8040af4261a1132a3dd4c068ec61a0d301;p=friendica.git Corrected wrong handling of the return value --- 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) {