Fix : bug on check of main_not_installed

This commit is contained in:
Lucas Marcouiller 2022-05-21 17:14:05 +02:00
parent 6bc7cbd106
commit 29dab3b6d1

View File

@ -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')) {