diff --git a/cli/upgrade_database.php b/cli/upgrade_database.php index dc1c24bf5b..f5a36bf4b6 100644 --- a/cli/upgrade_database.php +++ b/cli/upgrade_database.php @@ -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; } diff --git a/docs/CHANGELOG b/docs/CHANGELOG index 462feb0e8d..e25a284172 100644 --- a/docs/CHANGELOG +++ b/docs/CHANGELOG @@ -20,6 +20,7 @@ Cacti CHANGELOG -issue#1116: Filters not allowing "None" or "All" when editing report item -issue#1119: Reduced amount of data fetched for CPU usage to just the data used -issue#1130: Fix logging level issue where logs of same level as setting where not logged +-issue#1131: Make upgrade_database.php use same version compare as /install/ system -issue#1133: Fix issues with variable name and debug log -issue#1143: ss_host_cpu.php - Division by zero / Invalid Return Value -issue: Updated Graph pagenation and filter reset