diff options
author | Oliver Schramm <oliver.schramm97@gmail.com> | 2013-07-24 18:15:03 +0200 |
---|---|---|
committer | Oliver Schramm <oliver.schramm97@gmail.com> | 2013-07-24 18:15:03 +0200 |
commit | 5af63a7860678ac55f84201cf7dbbdf82dcdc8e8 (patch) | |
tree | 219feb3c058442e9f2a964cb2d1bab478ef6c0bf | |
parent | c0795cc4daae6af400d2a3493277819369c4985a (diff) | |
download | forums-5af63a7860678ac55f84201cf7dbbdf82dcdc8e8.tar forums-5af63a7860678ac55f84201cf7dbbdf82dcdc8e8.tar.gz forums-5af63a7860678ac55f84201cf7dbbdf82dcdc8e8.tar.bz2 forums-5af63a7860678ac55f84201cf7dbbdf82dcdc8e8.tar.xz forums-5af63a7860678ac55f84201cf7dbbdf82dcdc8e8.zip |
[ticket/10917] Fixed notice that files are out of date when updating to an unreleased version
PHPBB3-10917
-rw-r--r-- | phpBB/install/install_update.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/install/install_update.php b/phpBB/install/install_update.php index c18a0fb4ec..5393040061 100644 --- a/phpBB/install/install_update.php +++ b/phpBB/install/install_update.php @@ -204,7 +204,7 @@ class install_update extends module } // Check if the update files stored are for the latest version... - if ($this->latest_version != $this->update_info['version']['to']) + if (version_compare(strtolower($this->latest_version), strtolower($this->update_info['version']['to']), '>')) { $this->unequal_version = true; |