浏览代码

Fix : bug on check of main_not_installed

Lucas Marcouiller 3 年之前
父节点
当前提交
29dab3b6d1
共有 1 个文件被更改,包括 1 次插入1 次删除
  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')) {