@@ -86,9 +86,15 @@ |
||
| 86 | 86 | */ |
| 87 | 87 | |
| 88 | 88 | $nbmodulesnotautoenabled = count($conf->modules); |
| 89 | - if (in_array('fckeditor', $conf->modules)) $nbmodulesnotautoenabled--; |
|
| 90 | - if (in_array('export', $conf->modules)) $nbmodulesnotautoenabled--; |
|
| 91 | - if (in_array('import', $conf->modules)) $nbmodulesnotautoenabled--; |
|
| 89 | + if (in_array('fckeditor', $conf->modules)) { |
|
| 90 | + $nbmodulesnotautoenabled--; |
|
| 91 | + } |
|
| 92 | + if (in_array('export', $conf->modules)) { |
|
| 93 | + $nbmodulesnotautoenabled--; |
|
| 94 | + } |
|
| 95 | + if (in_array('import', $conf->modules)) { |
|
| 96 | + $nbmodulesnotautoenabled--; |
|
| 97 | + } |
|
| 92 | 98 | |
| 93 | 99 | // Check if company name is defined (first install) |
| 94 | 100 | if (!isset($conf->global->MAIN_INFO_SOCIETE_NOM) || !getDolGlobalString('MAIN_INFO_SOCIETE_NOM')) { |