Test Failed
Push — main ( 1f99c7...ac1cad )
by Rafael
61:18
created
htdocs/fourn/commande/info.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,8 +85,8 @@
 block discarded – undo
85 85
 // Init Hooks
86 86
 $hookmanager->initHooks(array('ordersuppliercardinfo'));
87 87
 
88
-$usercancreate  = ($user->hasRight("fournisseur", "commande", "creer") || $user->hasRight("supplier_order", "creer"));
89
-$permissiontoadd    = $usercancreate; // Used by the include of actions_addupdatedelete.inc.php
88
+$usercancreate = ($user->hasRight("fournisseur", "commande", "creer") || $user->hasRight("supplier_order", "creer"));
89
+$permissiontoadd = $usercancreate; // Used by the include of actions_addupdatedelete.inc.php
90 90
 
91 91
 
92 92
 /*
Please login to merge, or discard this patch.
htdocs/contrat/list.php 1 patch
Spacing   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 $search_date_endday = GETPOSTINT('search_date_endday');
81 81
 $search_date_endmonth = GETPOSTINT('search_date_endmonth');
82 82
 $search_date_endyear = GETPOSTINT('search_date_endyear');
83
-$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear);   // Use tzserver
83
+$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear); // Use tzserver
84 84
 $search_date_end = dol_mktime(23, 59, 59, $search_date_endmonth, $search_date_endday, $search_date_endyear);
85 85
 $searchCategoryCustomerOperator = 0;
86 86
 if (GETPOSTISSET('formfilteraction')) {
@@ -93,20 +93,20 @@  discard block
 block discarded – undo
93 93
 $search_date_creation_startmonth = GETPOSTINT('search_date_creation_startmonth');
94 94
 $search_date_creation_startyear = GETPOSTINT('search_date_creation_startyear');
95 95
 $search_date_creation_startday = GETPOSTINT('search_date_creation_startday');
96
-$search_date_creation_start = dol_mktime(0, 0, 0, $search_date_creation_startmonth, $search_date_creation_startday, $search_date_creation_startyear);   // Use tzserver
96
+$search_date_creation_start = dol_mktime(0, 0, 0, $search_date_creation_startmonth, $search_date_creation_startday, $search_date_creation_startyear); // Use tzserver
97 97
 $search_date_creation_endmonth = GETPOSTINT('search_date_creation_endmonth');
98 98
 $search_date_creation_endyear = GETPOSTINT('search_date_creation_endyear');
99 99
 $search_date_creation_endday = GETPOSTINT('search_date_creation_endday');
100
-$search_date_creation_end = dol_mktime(23, 59, 59, $search_date_creation_endmonth, $search_date_creation_endday, $search_date_creation_endyear);    // Use tzserver
100
+$search_date_creation_end = dol_mktime(23, 59, 59, $search_date_creation_endmonth, $search_date_creation_endday, $search_date_creation_endyear); // Use tzserver
101 101
 
102 102
 $search_date_modif_startmonth = GETPOSTINT('search_date_modif_startmonth');
103 103
 $search_date_modif_startyear = GETPOSTINT('search_date_modif_startyear');
104 104
 $search_date_modif_startday = GETPOSTINT('search_date_modif_startday');
105
-$search_date_modif_start = dol_mktime(0, 0, 0, $search_date_modif_startmonth, $search_date_modif_startday, $search_date_modif_startyear);   // Use tzserver
105
+$search_date_modif_start = dol_mktime(0, 0, 0, $search_date_modif_startmonth, $search_date_modif_startday, $search_date_modif_startyear); // Use tzserver
106 106
 $search_date_modif_endmonth = GETPOSTINT('search_date_modif_endmonth');
107 107
 $search_date_modif_endyear = GETPOSTINT('search_date_modif_endyear');
108 108
 $search_date_modif_endday = GETPOSTINT('search_date_modif_endday');
109
-$search_date_modif_end = dol_mktime(23, 59, 59, $search_date_modif_endmonth, $search_date_modif_endday, $search_date_modif_endyear);    // Use tzserver
109
+$search_date_modif_end = dol_mktime(23, 59, 59, $search_date_modif_endmonth, $search_date_modif_endday, $search_date_modif_endyear); // Use tzserver
110 110
 
111 111
 // Load variable for pagination
112 112
 $limit = GETPOSTINT('limit') ? GETPOSTINT('limit') : $conf->liste_limit;
@@ -528,7 +528,7 @@  discard block
 block discarded – undo
528 528
         $resql = $db->query($sql, 0, 'auto', 1);
529 529
         while ($db->fetch_object($resql)) {
530 530
             if (empty($nbtotalofrecords)) {
531
-                $nbtotalofrecords = 1;    // We can't make +1 because init value is ''
531
+                $nbtotalofrecords = 1; // We can't make +1 because init value is ''
532 532
             } else {
533 533
                 $nbtotalofrecords++;
534 534
             }
@@ -980,55 +980,55 @@  discard block
 block discarded – undo
980 980
 print '<tr class="liste_titre">';
981 981
 if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
982 982
     print_liste_field_titre($selectedfields, $_SERVER['PHP_SELF'], "", '', '', '', $sortfield, $sortorder, 'center maxwidthsearch ');
983
-    $totalarray['nbfield']++;   // For the column action
983
+    $totalarray['nbfield']++; // For the column action
984 984
 }
985 985
 if (!empty($arrayfields['c.ref']['checked'])) {
986 986
     print_liste_field_titre($arrayfields['c.ref']['label'], $_SERVER['PHP_SELF'], "c.ref", "", $param, '', $sortfield, $sortorder);
987
-    $totalarray['nbfield']++;   // For the column action
987
+    $totalarray['nbfield']++; // For the column action
988 988
 }
989 989
 if (!empty($arrayfields['c.ref_customer']['checked'])) {
990 990
     print_liste_field_titre($arrayfields['c.ref_customer']['label'], $_SERVER['PHP_SELF'], "c.ref_customer", "", $param, '', $sortfield, $sortorder);
991
-    $totalarray['nbfield']++;   // For the column action
991
+    $totalarray['nbfield']++; // For the column action
992 992
 }
993 993
 if (!empty($arrayfields['c.ref_supplier']['checked'])) {
994 994
     print_liste_field_titre($arrayfields['c.ref_supplier']['label'], $_SERVER['PHP_SELF'], "c.ref_supplier", "", $param, '', $sortfield, $sortorder);
995
-    $totalarray['nbfield']++;   // For the column action
995
+    $totalarray['nbfield']++; // For the column action
996 996
 }
997 997
 if (!empty($arrayfields['s.nom']['checked'])) {
998 998
     print_liste_field_titre($arrayfields['s.nom']['label'], $_SERVER['PHP_SELF'], "s.nom", "", $param, '', $sortfield, $sortorder);
999
-    $totalarray['nbfield']++;   // For the column action
999
+    $totalarray['nbfield']++; // For the column action
1000 1000
 }
1001 1001
 if (!empty($arrayfields['s.email']['checked'])) {
1002 1002
     print_liste_field_titre($arrayfields['s.email']['label'], $_SERVER['PHP_SELF'], "s.email", "", $param, '', $sortfield, $sortorder);
1003
-    $totalarray['nbfield']++;   // For the column action
1003
+    $totalarray['nbfield']++; // For the column action
1004 1004
 }
1005 1005
 if (!empty($arrayfields['s.town']['checked'])) {
1006 1006
     print_liste_field_titre($arrayfields['s.town']['label'], $_SERVER['PHP_SELF'], 's.town', '', $param, '', $sortfield, $sortorder);
1007
-    $totalarray['nbfield']++;   // For the column action
1007
+    $totalarray['nbfield']++; // For the column action
1008 1008
 }
1009 1009
 if (!empty($arrayfields['s.zip']['checked'])) {
1010 1010
     print_liste_field_titre($arrayfields['s.zip']['label'], $_SERVER['PHP_SELF'], 's.zip', '', $param, '', $sortfield, $sortorder);
1011
-    $totalarray['nbfield']++;   // For the column action
1011
+    $totalarray['nbfield']++; // For the column action
1012 1012
 }
1013 1013
 if (!empty($arrayfields['state.nom']['checked'])) {
1014 1014
     print_liste_field_titre($arrayfields['state.nom']['label'], $_SERVER['PHP_SELF'], "state.nom", "", $param, '', $sortfield, $sortorder);
1015
-    $totalarray['nbfield']++;   // For the column action
1015
+    $totalarray['nbfield']++; // For the column action
1016 1016
 }
1017 1017
 if (!empty($arrayfields['country.code_iso']['checked'])) {
1018 1018
     print_liste_field_titre($arrayfields['country.code_iso']['label'], $_SERVER['PHP_SELF'], "country.code_iso", "", $param, '', $sortfield, $sortorder, 'center ');
1019
-    $totalarray['nbfield']++;   // For the column action
1019
+    $totalarray['nbfield']++; // For the column action
1020 1020
 }
1021 1021
 if (!empty($arrayfields['typent.code']['checked'])) {
1022 1022
     print_liste_field_titre($arrayfields['typent.code']['label'], $_SERVER['PHP_SELF'], "typent.code", "", $param, '', $sortfield, $sortorder, 'center ');
1023
-    $totalarray['nbfield']++;   // For the column action
1023
+    $totalarray['nbfield']++; // For the column action
1024 1024
 }
1025 1025
 if (!empty($arrayfields['sale_representative']['checked'])) {
1026 1026
     print_liste_field_titre($arrayfields['sale_representative']['label'], $_SERVER['PHP_SELF'], "", "", $param, '', $sortfield, $sortorder);
1027
-    $totalarray['nbfield']++;   // For the column action
1027
+    $totalarray['nbfield']++; // For the column action
1028 1028
 }
1029 1029
 if (!empty($arrayfields['c.date_contrat']['checked'])) {
1030 1030
     print_liste_field_titre($arrayfields['c.date_contrat']['label'], $_SERVER['PHP_SELF'], "c.date_contrat", "", $param, '', $sortfield, $sortorder, 'center ');
1031
-    $totalarray['nbfield']++;   // For the column action
1031
+    $totalarray['nbfield']++; // For the column action
1032 1032
 }
1033 1033
 // Extra fields
1034 1034
 include DOL_DOCUMENT_ROOT . '/core/tpl/extrafields_list_search_title.tpl.php';
@@ -1038,29 +1038,29 @@  discard block
 block discarded – undo
1038 1038
 print $hookmanager->resPrint;
1039 1039
 if (!empty($arrayfields['c.datec']['checked'])) {
1040 1040
     print_liste_field_titre($arrayfields['c.datec']['label'], $_SERVER['PHP_SELF'], "c.datec", "", $param, '', $sortfield, $sortorder, 'center nowrap ');
1041
-    $totalarray['nbfield']++;   // For the column action
1041
+    $totalarray['nbfield']++; // For the column action
1042 1042
 }
1043 1043
 if (!empty($arrayfields['c.tms']['checked'])) {
1044 1044
     print_liste_field_titre($arrayfields['c.tms']['label'], $_SERVER['PHP_SELF'], "c.tms", "", $param, '', $sortfield, $sortorder, 'center nowrap ');
1045
-    $totalarray['nbfield']++;   // For the column action
1045
+    $totalarray['nbfield']++; // For the column action
1046 1046
 }
1047 1047
 if (!empty($arrayfields['lower_planned_end_date']['checked'])) {
1048 1048
     print_liste_field_titre($arrayfields['lower_planned_end_date']['label'], $_SERVER['PHP_SELF'], "lower_planned_end_date", "", $param, '', $sortfield, $sortorder, 'center ');
1049
-    $totalarray['nbfield']++;   // For the column action
1049
+    $totalarray['nbfield']++; // For the column action
1050 1050
 }
1051 1051
 if (!empty($arrayfields['status']['checked'])) {
1052 1052
     print_liste_field_titre($staticcontratligne->LibStatut(0, 3, -1, 'class="nochangebackground"'), '', '', '', '', 'width="16"');
1053
-    $totalarray['nbfield']++;   // For the column action
1053
+    $totalarray['nbfield']++; // For the column action
1054 1054
     print_liste_field_titre($staticcontratligne->LibStatut(4, 3, 0, 'class="nochangebackground"'), '', '', '', '', 'width="16"');
1055
-    $totalarray['nbfield']++;   // For the column action
1055
+    $totalarray['nbfield']++; // For the column action
1056 1056
     print_liste_field_titre($staticcontratligne->LibStatut(4, 3, 1, 'class="nochangebackground"'), '', '', '', '', 'width="16"');
1057
-    $totalarray['nbfield']++;   // For the column action
1057
+    $totalarray['nbfield']++; // For the column action
1058 1058
     print_liste_field_titre($staticcontratligne->LibStatut(5, 3, -1, 'class="nochangebackground"'), '', '', '', '', 'width="16"');
1059
-    $totalarray['nbfield']++;   // For the column action
1059
+    $totalarray['nbfield']++; // For the column action
1060 1060
 }
1061 1061
 if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
1062 1062
     print_liste_field_titre($selectedfields, $_SERVER['PHP_SELF'], "", '', '', '', $sortfield, $sortorder, 'center maxwidthsearch ');
1063
-    $totalarray['nbfield']++;   // For the column action
1063
+    $totalarray['nbfield']++; // For the column action
1064 1064
 }
1065 1065
 print "</tr>\n";
1066 1066
 
@@ -1350,7 +1350,7 @@  discard block
 block discarded – undo
1350 1350
 
1351 1351
 // If no record found
1352 1352
 if ($num == 0) {
1353
-    $colspan = 4;   // Include the 4 columns of status
1353
+    $colspan = 4; // Include the 4 columns of status
1354 1354
     foreach ($arrayfields as $key => $val) {
1355 1355
         if (!empty($val['checked'])) {
1356 1356
             $colspan++;
Please login to merge, or discard this patch.
htdocs/contrat/note.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
 $object = new Contrat($db);
54 54
 $object->fetch($id, $ref);
55 55
 
56
-$permissiontoadd   = $user->hasRight('contrat', 'creer');     //  Used by the include of actions_addupdatedelete.inc.php and actions_lineupdown.inc.php
56
+$permissiontoadd = $user->hasRight('contrat', 'creer'); //  Used by the include of actions_addupdatedelete.inc.php and actions_lineupdown.inc.php
57 57
 $permissionnote = $user->hasRight('contrat', 'creer'); // Used by the include of actions_setnotes.inc.php
58 58
 
59 59
 $result = restrictedArea($user, 'contrat', $object->id);
Please login to merge, or discard this patch.
htdocs/contrat/card.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
 $permissionnote = $user->hasRight('contrat', 'creer'); // Used by the include of actions_setnotes.inc.php
110 110
 $permissiondellink = $user->hasRight('contrat', 'creer'); // Used by the include of actions_dellink.inc.php
111 111
 $permissiontodelete = ($user->hasRight('contrat', 'creer') && $object->statut == $object::STATUS_DRAFT) || $user->hasRight('contrat', 'supprimer');
112
-$permissiontoadd   = $user->hasRight('contrat', 'creer');     //  Used by the include of actions_addupdatedelete.inc.php and actions_lineupdown.inc.php
112
+$permissiontoadd   = $user->hasRight('contrat', 'creer'); //  Used by the include of actions_addupdatedelete.inc.php and actions_lineupdown.inc.php
113 113
 $permissiontoedit = $permissiontoadd;
114 114
 $permissiontoactivate = $user->hasRight('contrat', 'activer');
115 115
 $error = 0;
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
 
155 155
     include DOL_DOCUMENT_ROOT . '/core/actions_dellink.inc.php'; // Must be include, not include_once
156 156
 
157
-    include DOL_DOCUMENT_ROOT . '/core/actions_lineupdown.inc.php';  // Must be include, not include_once
157
+    include DOL_DOCUMENT_ROOT . '/core/actions_lineupdown.inc.php'; // Must be include, not include_once
158 158
 
159 159
     if ($action == 'confirm_active' && $confirm == 'yes' && $permissiontoactivate) {
160 160
         $date_start = '';
@@ -532,8 +532,8 @@  discard block
 block discarded – undo
532 532
                     $result = $prodcustprice->fetchAll('', '', 0, 0, $filter);
533 533
                     if ($result) {
534 534
                         if (count($prodcustprice->lines) > 0) {
535
-                            $price_min =  price($prodcustprice->lines[0]->price_min);
536
-                            $price_min_ttc =  price($prodcustprice->lines[0]->price_min_ttc);
535
+                            $price_min = price($prodcustprice->lines[0]->price_min);
536
+                            $price_min_ttc = price($prodcustprice->lines[0]->price_min_ttc);
537 537
                             /*$tva_tx = $prodcustprice->lines[0]->tva_tx;
538 538
                             if ($prodcustprice->lines[0]->default_vat_code && !preg_match('/\(.*\)/', $tva_tx)) {
539 539
                                 $tva_tx .= ' ('.$prodcustprice->lines[0]->default_vat_code.')';
@@ -769,7 +769,7 @@  discard block
 block discarded – undo
769 769
             // update price_ht with discount
770 770
             // TODO Use object->updateline instead objectline->update
771 771
 
772
-            $price_ht =  price2num(GETPOST('elprice'), 'MU');
772
+            $price_ht = price2num(GETPOST('elprice'), 'MU');
773 773
             $remise_percent = price2num(GETPOST('elremise_percent'), '', 2);
774 774
             if ($remise_percent > 0) {
775 775
                 $remise = round(($price_ht * $remise_percent / 100), 2);
@@ -874,7 +874,7 @@  discard block
 block discarded – undo
874 874
     } elseif ($action == 'confirm_activate' && $confirm == 'yes' && $user->hasRight('contrat', 'creer')) {
875 875
         $date_start = dol_mktime(12, 0, 0, GETPOST('d_startmonth'), GETPOST('d_startday'), GETPOST('d_startyear'));
876 876
         $date_end   = dol_mktime(12, 0, 0, GETPOST('d_endmonth'), GETPOST('d_endday'), GETPOST('d_endyear'));
877
-        $comment      = GETPOST('comment', 'alpha');
877
+        $comment = GETPOST('comment', 'alpha');
878 878
         $result = $object->activateAll($user, $date_start, 0, $comment, $date_end);
879 879
         if ($result < 0) {
880 880
             setEventMessages($object->error, $object->errors, 'errors');
@@ -1503,7 +1503,7 @@  discard block
 block discarded – undo
1503 1503
         }
1504 1504
 
1505 1505
 
1506
-        $arrayothercontracts = $object->getListOfContracts('others');   // array or -1 if technical error
1506
+        $arrayothercontracts = $object->getListOfContracts('others'); // array or -1 if technical error
1507 1507
 
1508 1508
         /*
1509 1509
          * Lines of contracts
Please login to merge, or discard this patch.
htdocs/multicurrency/multicurrency_rate.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -545,7 +545,7 @@  discard block
 block discarded – undo
545 545
 
546 546
     $i = 0;
547 547
     $totalarray = array();
548
-    $totalarray['nbfield'] = 0;     // Prevents PHP warning
548
+    $totalarray['nbfield'] = 0; // Prevents PHP warning
549 549
     while ($i < min($num, $limit)) {
550 550
         $obj = $db->fetch_object($resql);
551 551
 
@@ -605,7 +605,7 @@  discard block
 block discarded – undo
605 605
                 print ' - <span class="opacitymedium">' . $obj->name . '</span>';
606 606
                 print "</td>\n";
607 607
 
608
-                if (! $i) {
608
+                if (!$i) {
609 609
                     $totalarray['nbfield']++;
610 610
                 }
611 611
             }
@@ -615,7 +615,7 @@  discard block
 block discarded – undo
615 615
                 print '<td class="tdoverflowmax200">';
616 616
                 print $obj->rate;
617 617
                 print "</td>\n";
618
-                if (! $i) {
618
+                if (!$i) {
619 619
                     $totalarray['nbfield']++;
620 620
                 }
621 621
             }
@@ -625,7 +625,7 @@  discard block
 block discarded – undo
625 625
                 print '<td class="tdoverflowmax200">';
626 626
                 print $obj->rate_indirect;
627 627
                 print "</td>\n";
628
-                if (! $i) {
628
+                if (!$i) {
629 629
                     $totalarray['nbfield']++;
630 630
                 }
631 631
             }
@@ -633,7 +633,7 @@  discard block
 block discarded – undo
633 633
 
634 634
             // Fields from hook
635 635
             $parameters = array('arrayfields' => $arrayfields, 'obj' => $obj);
636
-            $reshook = $hookmanager->executeHooks('printFieldListValue', $parameters);    // Note that $action and $object may have been modified by hook
636
+            $reshook = $hookmanager->executeHooks('printFieldListValue', $parameters); // Note that $action and $object may have been modified by hook
637 637
             print $hookmanager->resPrint;
638 638
 
639 639
             // Action
Please login to merge, or discard this patch.
htdocs/supplier_proposal/list.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 $search_date_endday = GETPOSTINT('search_date_endday');
77 77
 $search_date_endmonth = GETPOSTINT('search_date_endmonth');
78 78
 $search_date_endyear = GETPOSTINT('search_date_endyear');
79
-$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear);   // Use tzserver
79
+$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear); // Use tzserver
80 80
 $search_date_end = dol_mktime(23, 59, 59, $search_date_endmonth, $search_date_endday, $search_date_endyear);
81 81
 $search_date_valid_startday = GETPOSTINT('search_date_valid_startday');
82 82
 $search_date_valid_startmonth = GETPOSTINT('search_date_valid_startmonth');
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 $search_date_valid_endday = GETPOSTINT('search_date_valid_endday');
85 85
 $search_date_valid_endmonth = GETPOSTINT('search_date_valid_endmonth');
86 86
 $search_date_valid_endyear = GETPOSTINT('search_date_valid_endyear');
87
-$search_date_valid_start = dol_mktime(0, 0, 0, $search_date_valid_startmonth, $search_date_valid_startday, $search_date_valid_startyear);   // Use tzserver
87
+$search_date_valid_start = dol_mktime(0, 0, 0, $search_date_valid_startmonth, $search_date_valid_startday, $search_date_valid_startyear); // Use tzserver
88 88
 $search_date_valid_end = dol_mktime(23, 59, 59, $search_date_valid_endmonth, $search_date_valid_endday, $search_date_valid_endyear);
89 89
 $search_type_thirdparty = GETPOSTINT("search_type_thirdparty");
90 90
 $search_montant_ht = GETPOST('search_montant_ht', 'alpha');
Please login to merge, or discard this patch.
htdocs/supplier_proposal/card.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -596,7 +596,7 @@
 block discarded – undo
596 596
             $idprod = GETPOSTINT('idprod');
597 597
         }
598 598
 
599
-        $tva_tx = (GETPOST('tva_tx') ? GETPOST('tva_tx') : 0);      // Can be '1.2' or '1.2 (CODE)'
599
+        $tva_tx = (GETPOST('tva_tx') ? GETPOST('tva_tx') : 0); // Can be '1.2' or '1.2 (CODE)'
600 600
 
601 601
         $price_ht = price2num(GETPOST('price_ht'), 'MU', 2);
602 602
         $price_ht_devise = price2num(GETPOST('multicurrency_price_ht'), 'CU', 2);
Please login to merge, or discard this patch.
htdocs/ecm/index_medias.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 if (empty($action) && $file_manager) {
54 54
     $action = 'file_manager';
55 55
 }
56
-$pageid  = GETPOSTINT('pageid');
56
+$pageid = GETPOSTINT('pageid');
57 57
 
58 58
 $limit = GETPOSTINT('limit') ? GETPOSTINT('limit') : $conf->liste_limit;
59 59
 $sortfield = GETPOST('sortfield', 'aZ09comma');
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
 if ($sortorder) {
120 120
     $backtopage .= '&sortorder=' . urlencode($sortorder);
121 121
 }
122
-include DOL_DOCUMENT_ROOT . '/core/actions_linkedfiles.inc.php';  // This manage 'sendit', 'confirm_deletefile', 'renamefile' action when submitting new file.
122
+include DOL_DOCUMENT_ROOT . '/core/actions_linkedfiles.inc.php'; // This manage 'sendit', 'confirm_deletefile', 'renamefile' action when submitting new file.
123 123
 
124 124
 $backtopage = $savbacktopage;
125 125
 
Please login to merge, or discard this patch.
htdocs/ecm/dir_add_card.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
  *  \brief      Main page for ECM section area
25 25
  */
26 26
 
27
-if (! defined('DISABLE_JS_GRAHP')) {
27
+if (!defined('DISABLE_JS_GRAHP')) {
28 28
     define('DISABLE_JS_GRAPH', 1);
29 29
 }
30 30
 
Please login to merge, or discard this patch.