diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html
index f50e5a062f..f5d6da94b9 100644
--- a/phpBB/docs/CHANGELOG.html
+++ b/phpBB/docs/CHANGELOG.html
@@ -402,6 +402,8 @@
[PHPBB3-9888] - Update fails when Bing [Bot] was already added to the users table
+[PHPBB3-9891] - Updater drops language-selection after database-update
+
Improvement
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index 91ecc6d302..a1c3239cbf 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -486,7 +486,7 @@ else
- " class="button1">
+ " class="button1">
update_info['version']['from'])
+ if ($this->current_version != $this->update_info['version']['from'])
{
$this->unequal_version = true;
$template->assign_vars(array(
'S_ERROR' => true,
- 'ERROR_MSG' => sprintf($user->lang['INCOMPATIBLE_UPDATE_FILES'], $config['version'], $this->update_info['version']['from'], $this->update_info['version']['to']),
+ 'ERROR_MSG' => sprintf($user->lang['INCOMPATIBLE_UPDATE_FILES'], $this->current_version, $this->update_info['version']['from'], $this->update_info['version']['to']),
));
}