Jelajahi Sumber

Fix : bug on check of main_not_installed

Lucas Marcouiller 3 tahun lalu
induk
melakukan
29dab3b6d1
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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
 			$allowupgrade = false;
 		}
-		if (defined("MAIN_NOT_INSTALLED")) {
+		if (getDolGlobalInt("MAIN_NOT_INSTALLED")) {
 			$allowupgrade = false;
 		}
 		if (GETPOST('allowupgrade')) {