diff options
| author | Nils Adermann <naderman@naderman.de> | 2010-11-10 19:02:35 +0100 |
|---|---|---|
| committer | Nils Adermann <naderman@naderman.de> | 2010-11-10 19:02:35 +0100 |
| commit | 2e51e68ca145940462155d5164bf91bb4264d488 (patch) | |
| tree | f2a201546a3aef72eb94e871eb9a7e2fad3549ef /phpBB/install/install_update.php | |
| parent | 19155c78278dfde745483ba366acafd971f8b912 (diff) | |
| parent | 7b4cdc94a850c95582557d22ea7fd97e716734c7 (diff) | |
| download | forums-2e51e68ca145940462155d5164bf91bb4264d488.tar forums-2e51e68ca145940462155d5164bf91bb4264d488.tar.gz forums-2e51e68ca145940462155d5164bf91bb4264d488.tar.bz2 forums-2e51e68ca145940462155d5164bf91bb4264d488.tar.xz forums-2e51e68ca145940462155d5164bf91bb4264d488.zip | |
Merge branch 'develop-olympus' into develop
* develop-olympus:
[develop-olympus] Updating changelog for last minute 3.0.8-RC1 fixes.
[ticket/9140] Check current board version in incremental update packages
[ticket/9891] Updater drops language-selection after database-update
Diffstat (limited to 'phpBB/install/install_update.php')
| -rw-r--r-- | phpBB/install/install_update.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/install_update.php b/phpBB/install/install_update.php index 1399a99a31..39c74d272b 100644 --- a/phpBB/install/install_update.php +++ b/phpBB/install/install_update.php @@ -194,13 +194,13 @@ class install_update extends module } // Check if the update files are actually meant to update from the current version - if ($config['version'] != $this->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']), )); } |
