Merge pull request #20955 from Hystepik/develop#1

Fix : bug of upgrade when install not finished
This commit is contained in:
Laurent Destailleur 2022-05-21 19:09:02 +02:00 committed by GitHub
commit 3b79c41fb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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