From 5ac298ef3053b94e5e5c60537055eaf8f2fa8afc Mon Sep 17 00:00:00 2001 From: Micke2k Date: Mon, 28 Mar 2016 16:40:14 +0400 Subject: [PATCH] Fix upgrade loop If user has upgraded send them to settings check instead of having the upgrade again. --- install/index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install/index.php b/install/index.php index a615edd6af..675ba77384 100644 --- a/install/index.php +++ b/install/index.php @@ -532,12 +532,12 @@ function install_file_paths () { /* upgrade - if user runs old version send to upgrade-oldversion*/ } elseif (($step == '8') && ($old_version_index <= array_search('0.8.5a', $cacti_versions))) { $step = '9'; - /* upgrade - if user upgrades send to checkdependencies */ + /* upgrade - if user upgrades send to settingscheck */ } elseif ($step == '8') { - $step = '3'; - /* upgrade-oldversion - if user upgrades from old version send to checkdependencies */ + $step = '4'; + /* upgrade-oldversion - if user upgrades from old version send to settingscheck */ } elseif ($step == '9') { - $step = '3'; + $step = '4'; /* settingscheck - send to settings-install */ } elseif ($step == '4') { $step = '5';