Bläddra i källkod

Fix : bug on check of main_not_installed

Lucas Marcouiller 3 år sedan
förälder
incheckning
29dab3b6d1
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      htdocs/install/check.php

+ 1 - 1
htdocs/install/check.php

@@ -440,7 +440,7 @@ if (!file_exists($conffile)) {
 		if (empty($dolibarr_main_db_host)) {	// This means install process was not run
 		if (empty($dolibarr_main_db_host)) {	// This means install process was not run
 			$allowupgrade = false;
 			$allowupgrade = false;
 		}
 		}
-		if (defined("MAIN_NOT_INSTALLED")) {
+		if (getDolGlobalInt("MAIN_NOT_INSTALLED")) {
 			$allowupgrade = false;
 			$allowupgrade = false;
 		}
 		}
 		if (GETPOST('allowupgrade')) {
 		if (GETPOST('allowupgrade')) {