Passed
Push — main ( 4b1ce6...7d2b49 )
by Rafael
80:06
created
public/htdocs/expedition/card.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1437,7 +1437,9 @@
 block discarded – undo
1437 1437
                                         $deliverableQty = min($quantityToBeDelivered, $batchStock);
1438 1438
                                     }
1439 1439
 
1440
-                                    if ($deliverableQty < 0) $deliverableQty = 0;
1440
+                                    if ($deliverableQty < 0) {
1441
+                                        $deliverableQty = 0;
1442
+                                    }
1441 1443
 
1442 1444
                                     $inputName = 'qtyl' . $indiceAsked . '_' . $subj;
1443 1445
                                     if (GETPOSTISSET($inputName)) {
Please login to merge, or discard this patch.
public/htdocs/expedition/list.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -444,8 +444,10 @@
 block discarded – undo
444 444
                             );
445 445
                             if ($result > 0) {
446 446
                                 $lineid = $result;
447
-                                if (!empty($createbills_onebythird)) //increment rang to keep sending
447
+                                if (!empty($createbills_onebythird)) {
448
+                                    //increment rang to keep sending
448 449
                                     $TFactThirdNbLines[$expd->socid]++;
450
+                                }
449 451
                             } else {
450 452
                                 $lineid = 0;
451 453
                                 $error++;
Please login to merge, or discard this patch.
Dolibarr/Core/Base/DolibarrModules.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2663,6 +2663,8 @@
 block discarded – undo
2663 2663
                 $this->dictionaries['tab' . $field][] = $dictionaryArray[$field];
2664 2664
             }
2665 2665
         }
2666
-        if ($langs && !in_array($langs, $this->dictionaries[$langs])) $this->dictionaries['langs'][] = $langs;
2666
+        if ($langs && !in_array($langs, $this->dictionaries[$langs])) {
2667
+            $this->dictionaries['langs'][] = $langs;
2668
+        }
2667 2669
     }
2668 2670
 }
Please login to merge, or discard this patch.