@@ -43,9 +43,15 @@ |
||
| 43 | 43 | */ |
| 44 | 44 | |
| 45 | 45 | $nbmodulesnotautoenabled = count($conf->modules); |
| 46 | -if (in_array('fckeditor', $conf->modules)) $nbmodulesnotautoenabled--; |
|
| 47 | -if (in_array('export', $conf->modules)) $nbmodulesnotautoenabled--; |
|
| 48 | -if (in_array('import', $conf->modules)) $nbmodulesnotautoenabled--; |
|
| 46 | +if (in_array('fckeditor', $conf->modules)) { |
|
| 47 | + $nbmodulesnotautoenabled--; |
|
| 48 | +} |
|
| 49 | +if (in_array('export', $conf->modules)) { |
|
| 50 | + $nbmodulesnotautoenabled--; |
|
| 51 | +} |
|
| 52 | +if (in_array('import', $conf->modules)) { |
|
| 53 | + $nbmodulesnotautoenabled--; |
|
| 54 | +} |
|
| 49 | 55 | |
| 50 | 56 | // Check if company name is defined (first install) |
| 51 | 57 | if (!getDolGlobalString('MAIN_INFO_SOCIETE_NOM') || !getDolGlobalString('MAIN_INFO_SOCIETE_COUNTRY')) { |