Merge pull request #20955 from Hystepik/develop#1
Fix : bug of upgrade when install not finished
This commit is contained in:
commit
3b79c41fb8
@ -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')) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user