mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-12 19:50:29 +01:00
- bracket in wrong place there [Bug #11122]
git-svn-id: file:///svn/phpbb/trunk@7626 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
951b558c18
commit
76c67b6b89
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user