Fix for issue #1131 - upgrade_database.php (#1151)

Make upgrade_database.php use cacti_version_compare rather than version_compare (php version) to bring inline with /install/
This commit is contained in:
netniV authored and cigamit committed 2017-12-23 08:21:35 -06:00
1 parent 9b70437ca3
commit 312ec55c23
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -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;
}
+1
View File
@@ -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