Test Failed
Push — main ( 94e8c4...1be143 )
by Rafael
44:08
created
doctemplates/websites/website_template-stellar/containers/master.inc.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,6 +2,8 @@
 block discarded – undo
2 2
 
3 3
 // File generated to link to the master file - DO NOT MODIFY - It is just an include
4 4
 if (! defined('USEDOLIBARRSERVER') && ! defined('USEDOLIBARREDITOR')) {
5
-    if (! defined('USEEXTERNALSERVER')) define('USEEXTERNALSERVER', 1);
5
+    if (! defined('USEEXTERNALSERVER')) {
6
+        define('USEEXTERNALSERVER', 1);
7
+    }
6 8
     require_once '/home/ldestailleur/git/dolibarr_dev/htdocs/master.inc.php';
7 9
 }
Please login to merge, or discard this patch.
htdocs/comm/action/class/cactioncomm.class.php 1 patch
Braces   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -340,10 +340,16 @@
 block discarded – undo
340 340
                 }
341 341
             }
342 342
 
343
-            if (empty($idorcode)) $idorcode = 'all';
343
+            if (empty($idorcode)) {
344
+                $idorcode = 'all';
345
+            }
344 346
             $TType = $TSystem[$idorcode];
345
-            if (! empty($TSystemAuto[$idorcode])) $TType = array_merge($TSystem[$idorcode], $TSystemAuto[$idorcode]);
346
-            if (! empty($TModule[$idorcode])) $TType = array_merge($TSystem[$idorcode], $TModule[$idorcode]);
347
+            if (! empty($TSystemAuto[$idorcode])) {
348
+                $TType = array_merge($TSystem[$idorcode], $TSystemAuto[$idorcode]);
349
+            }
350
+            if (! empty($TModule[$idorcode])) {
351
+                $TType = array_merge($TSystem[$idorcode], $TModule[$idorcode]);
352
+            }
347 353
             $this->liste_array = $TType;
348 354
 
349 355
 
Please login to merge, or discard this patch.