diff options
author | Nils Adermann <naderman@naderman.de> | 2007-05-17 22:21:29 +0000 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2007-05-17 22:21:29 +0000 |
commit | 76c67b6b89c1ca58c332848324e52271a82d92a6 (patch) | |
tree | 7b159347f19b404de9576b7c7224dd92b085ef57 | |
parent | 951b558c18cab7d567c6a7c22d2ac4e5e6b08201 (diff) | |
download | forums-76c67b6b89c1ca58c332848324e52271a82d92a6.tar forums-76c67b6b89c1ca58c332848324e52271a82d92a6.tar.gz forums-76c67b6b89c1ca58c332848324e52271a82d92a6.tar.bz2 forums-76c67b6b89c1ca58c332848324e52271a82d92a6.tar.xz forums-76c67b6b89c1ca58c332848324e52271a82d92a6.zip |
- bracket in wrong place there [Bug #11122]
git-svn-id: file:///svn/phpbb/trunk@7626 89ea8834-ac86-4346-8a33-228a782c2dd0
-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 bc5ce0c57c..9f08f2ec64 100644 --- a/phpBB/install/install_update.php +++ b/phpBB/install/install_update.php @@ -137,7 +137,7 @@ class install_update extends module // For the current version we trick a bit. ;) $this->current_version = (!empty($config['version_update_from'])) ? $config['version_update_from'] : $config['version']; - $up_to_date = (version_compare(str_replace('rc', 'RC', strtolower($this->current_version)), str_replace('rc', 'RC', strtolower($this->latest_version), '<'))) ? false : true; + $up_to_date = (version_compare(str_replace('rc', 'RC', strtolower($this->current_version)), str_replace('rc', 'RC', strtolower($this->latest_version)), '<')) ? false : true; // Check for a valid update directory, else point the user to the phpbb.com website if (!file_exists($phpbb_root_path . 'install/update') || !file_exists($phpbb_root_path . 'install/update/index.' . $phpEx) || !file_exists($this->old_location) || !file_exists($this->new_location)) |