Passed
Push — GENERAL_BUG_REVIEW_240911 ( 776d89...c757bd )
by Rafael
50:33
created
public/htdocs/accountancy/expensereport/lines.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 $search_date_endday = GETPOSTINT('search_date_endday');
58 58
 $search_date_endmonth = GETPOSTINT('search_date_endmonth');
59 59
 $search_date_endyear = GETPOSTINT('search_date_endyear');
60
-$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear);   // Use tzserver
60
+$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear); // Use tzserver
61 61
 $search_date_end = dol_mktime(23, 59, 59, $search_date_endmonth, $search_date_endday, $search_date_endyear);
62 62
 
63 63
 // Load variable for pagination
Please login to merge, or discard this patch.
public/htdocs/accountancy/expensereport/list.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 $search_date_endday = GETPOSTINT('search_date_endday');
67 67
 $search_date_endmonth = GETPOSTINT('search_date_endmonth');
68 68
 $search_date_endyear = GETPOSTINT('search_date_endyear');
69
-$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear);   // Use tzserver
69
+$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear); // Use tzserver
70 70
 $search_date_end = dol_mktime(23, 59, 59, $search_date_endmonth, $search_date_endday, $search_date_endyear);
71 71
 
72 72
 // Define begin binding date
Please login to merge, or discard this patch.
public/htdocs/accountancy/supplier/lines.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 $changeaccount = GETPOST('changeaccount');
50 50
 // Search Getpost
51 51
 $search_societe = GETPOST('search_societe', 'alpha');
52
-$search_lineid = GETPOST('search_lineid', 'alpha');     // Can be '> 100'
52
+$search_lineid = GETPOST('search_lineid', 'alpha'); // Can be '> 100'
53 53
 $search_ref = GETPOST('search_ref', 'alpha');
54 54
 $search_invoice = GETPOST('search_invoice', 'alpha');
55 55
 //$search_ref_supplier = GETPOST('search_ref_supplier', 'alpha');
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
 $search_date_endday = GETPOSTINT('search_date_endday');
65 65
 $search_date_endmonth = GETPOSTINT('search_date_endmonth');
66 66
 $search_date_endyear = GETPOSTINT('search_date_endyear');
67
-$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear);   // Use tzserver
67
+$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear); // Use tzserver
68 68
 $search_date_end = dol_mktime(23, 59, 59, $search_date_endmonth, $search_date_endday, $search_date_endyear);
69 69
 $search_country = GETPOST('search_country', 'aZ09');
70 70
 $search_tvaintra = GETPOST('search_tvaintra', 'alpha');
Please login to merge, or discard this patch.
public/htdocs/accountancy/supplier/list.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 $mesCasesCochees = GETPOST('toselect', 'array');
59 59
 
60 60
 // Search Getpost
61
-$search_lineid = GETPOST('search_lineid', 'alpha');     // Can be '> 100'
61
+$search_lineid = GETPOST('search_lineid', 'alpha'); // Can be '> 100'
62 62
 $search_societe = GETPOST('search_societe', 'alpha');
63 63
 $search_ref = GETPOST('search_ref', 'alpha');
64 64
 $search_ref_supplier = GETPOST('search_ref_supplier', 'alpha');
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 $search_date_endday = GETPOSTINT('search_date_endday');
75 75
 $search_date_endmonth = GETPOSTINT('search_date_endmonth');
76 76
 $search_date_endyear = GETPOSTINT('search_date_endyear');
77
-$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear);   // Use tzserver
77
+$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear); // Use tzserver
78 78
 $search_date_end = dol_mktime(23, 59, 59, $search_date_endmonth, $search_date_endday, $search_date_endyear);
79 79
 $search_country = GETPOST('search_country', 'aZ09');
80 80
 $search_tvaintra = GETPOST('search_tvaintra', 'alpha');
@@ -585,7 +585,7 @@  discard block
 block discarded – undo
585 585
         $thirdpartystatic->email = $objp->email;
586 586
         $thirdpartystatic->country_code = $objp->country_code;
587 587
         $thirdpartystatic->tva_intra = $objp->tva_intra;
588
-        $thirdpartystatic->code_compta_product = $objp->company_code_buy;       // The accounting account for product stored on thirdparty object (for level3 suggestion)
588
+        $thirdpartystatic->code_compta_product = $objp->company_code_buy; // The accounting account for product stored on thirdparty object (for level3 suggestion)
589 589
 
590 590
         $product_static->ref = $objp->product_ref;
591 591
         $product_static->id = $objp->product_id;
Please login to merge, or discard this patch.
public/htdocs/accountancy/supplier/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@
 block discarded – undo
201 201
             $thirdpartystatic->email = $objp->email;
202 202
             $thirdpartystatic->country_code = $objp->country_code;
203 203
             $thirdpartystatic->tva_intra = $objp->tva_intra;
204
-            $thirdpartystatic->code_compta_product = $objp->company_code_buy;       // The accounting account for product stored on thirdparty object (for level3 suggestion)
204
+            $thirdpartystatic->code_compta_product = $objp->company_code_buy; // The accounting account for product stored on thirdparty object (for level3 suggestion)
205 205
 
206 206
             $product_static->ref = $objp->product_ref;
207 207
             $product_static->id = $objp->product_id;
Please login to merge, or discard this patch.
public/htdocs/ecm/index_medias.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -235,10 +235,10 @@
 block discarded – undo
235 235
                 $id = $ecmdirtmp->create($user);
236 236
                 if ($id > 0) {
237 237
                     $newdirsql = array('id' => $id,
238
-                                     'id_mere' => $ecmdirtmp->fk_parent,
239
-                                     'label' => $ecmdirtmp->label,
240
-                                     'description' => $ecmdirtmp->description,
241
-                                     'fullrelativename' => $relativepathmissing);
238
+                                        'id_mere' => $ecmdirtmp->fk_parent,
239
+                                        'label' => $ecmdirtmp->label,
240
+                                        'description' => $ecmdirtmp->description,
241
+                                        'fullrelativename' => $relativepathmissing);
242 242
                     $sqltree[] = $newdirsql; // We complete fulltree for following loops
243 243
                     //var_dump($sqltree);
244 244
                     $adirwascreated = 1;
Please login to merge, or discard this 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.
public/htdocs/ecm/index_auto.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -235,10 +235,10 @@
 block discarded – undo
235 235
                 $id = $ecmdirtmp->create($user);
236 236
                 if ($id > 0) {
237 237
                     $newdirsql = array('id' => $id,
238
-                                     'id_mere' => $ecmdirtmp->fk_parent,
239
-                                     'label' => $ecmdirtmp->label,
240
-                                     'description' => $ecmdirtmp->description,
241
-                                     'fullrelativename' => $relativepathmissing);
238
+                                        'id_mere' => $ecmdirtmp->fk_parent,
239
+                                        'label' => $ecmdirtmp->label,
240
+                                        'description' => $ecmdirtmp->description,
241
+                                        'fullrelativename' => $relativepathmissing);
242 242
                     $sqltree[] = $newdirsql; // We complete fulltree for following loops
243 243
                     //var_dump($sqltree);
244 244
                     $adirwascreated = 1;
Please login to merge, or discard this patch.
public/htdocs/ecm/index.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -235,10 +235,10 @@
 block discarded – undo
235 235
                 $id = $ecmdirtmp->create($user);
236 236
                 if ($id > 0) {
237 237
                     $newdirsql = array('id' => $id,
238
-                                     'id_mere' => $ecmdirtmp->fk_parent,
239
-                                     'label' => $ecmdirtmp->label,
240
-                                     'description' => $ecmdirtmp->description,
241
-                                     'fullrelativename' => $relativepathmissing);
238
+                                        'id_mere' => $ecmdirtmp->fk_parent,
239
+                                        'label' => $ecmdirtmp->label,
240
+                                        'description' => $ecmdirtmp->description,
241
+                                        'fullrelativename' => $relativepathmissing);
242 242
                     $sqltree[] = $newdirsql; // We complete fulltree for following loops
243 243
                     //var_dump($sqltree);
244 244
                     $adirwascreated = 1;
Please login to merge, or discard this patch.
public/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.