Passed
Push — main ( 131f20...c1d479 )
by Rafael
51:37
created
Dolibarr/Modules/User/Controller/DashboardController.php 1 patch
Braces   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -86,9 +86,15 @@
 block discarded – undo
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')) {
Please login to merge, or discard this patch.