mirror of
https://github.com/Cacti/cacti.git
synced 2026-12-05 22:54:19 +09:00
Make upgrade_database.php use cacti_version_compare rather than version_compare (php version) to bring inline with /install/
This commit is contained in:
1 parent
9b70437ca3
commit
312ec55c23
2 files changed
+2
-1
No files matched your search
@@ -113,7 +113,7 @@ if ($old_cacti_version == CACTI_VERSION) {
|
||||
foreach ($cacti_version_codes as $cacti_version => $hash_code) {
|
||||
|
||||
// skip versions old than the database version
|
||||
if (version_compare($old_cacti_version, $cacti_version, '>=')) {
|
||||
if (cacti_version_compare($old_cacti_version, $cacti_version, '>=')) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user