Passed
Push — GENERAL_BUG_REVIEW_240911 ( 6dbc7d...fb375d )
by Rafael
53:50
created
public/htdocs/core/modules/propale/doc/doc_generic_proposal_odt.modules.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -210,7 +210,7 @@
 block discarded – undo
210 210
         $maxfilesizearray = getMaxFileSizeArray();
211 211
         $maxmin = $maxfilesizearray['maxmin'];
212 212
         if ($maxmin > 0) {
213
-            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">';    // MAX_FILE_SIZE must precede the field type=file
213
+            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file
214 214
         }
215 215
         $texte .= ' <input type="file" name="uploadfile">';
216 216
         $texte .= '<input type="hidden" value="PROPALE_ADDON_PDF_ODT_PATH" name="keyforuploaddir">';
Please login to merge, or discard this patch.
public/htdocs/core/modules/user/doc/doc_generic_user_odt.modules.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@
 block discarded – undo
198 198
         $maxfilesizearray = getMaxFileSizeArray();
199 199
         $maxmin = $maxfilesizearray['maxmin'];
200 200
         if ($maxmin > 0) {
201
-            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">';    // MAX_FILE_SIZE must precede the field type=file
201
+            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file
202 202
         }
203 203
         $texte .= ' <input type="file" name="uploadfile">';
204 204
         $texte .= '<input type="hidden" value="USER_ADDON_PDF_ODT_PATH" name="keyforuploaddir">';
Please login to merge, or discard this patch.
public/htdocs/core/modules/mailings/xinputfile.modules.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
         $maxfilesizearray = getMaxFileSizeArray();
116 116
         $maxmin = $maxfilesizearray['maxmin'];
117 117
         if ($maxmin > 0) {
118
-            $s .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">';    // MAX_FILE_SIZE must precede the field type=file
118
+            $s .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file
119 119
         }
120 120
         $s .= '<input type="file" name="username" class="flat">';
121 121
         return $s;
Please login to merge, or discard this patch.
public/htdocs/core/modules/member/doc/doc_generic_member_odt.class.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@
 block discarded – undo
167 167
         $maxfilesizearray = getMaxFileSizeArray();
168 168
         $maxmin = $maxfilesizearray['maxmin'];
169 169
         if ($maxmin > 0) {
170
-            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">';    // MAX_FILE_SIZE must precede the field type=file
170
+            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file
171 171
         }
172 172
         $texte .= ' <input type="file" name="uploadfile">';
173 173
         $texte .= '<input type="hidden" value="MEMBER_ADDON_PDF_ODT_PATH" name="keyforuploaddir">';
Please login to merge, or discard this patch.
public/htdocs/core/modules/bom/doc/doc_generic_bom_odt.modules.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@
 block discarded – undo
170 170
         $maxfilesizearray = getMaxFileSizeArray();
171 171
         $maxmin = $maxfilesizearray['maxmin'];
172 172
         if ($maxmin > 0) {
173
-            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">';    // MAX_FILE_SIZE must precede the field type=file
173
+            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file
174 174
         }
175 175
         $texte .= ' <input type="file" name="uploadfile">';
176 176
         $texte .= '<input type="hidden" value="BOM_ADDON_PDF_ODT_PATH" name="keyforuploaddir">';
Please login to merge, or discard this patch.
public/htdocs/core/modules/commande/doc/doc_generic_order_odt.modules.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
         $maxfilesizearray = getMaxFileSizeArray();
178 178
         $maxmin = $maxfilesizearray['maxmin'];
179 179
         if ($maxmin > 0) {
180
-            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">';    // MAX_FILE_SIZE must precede the field type=file
180
+            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file
181 181
         }
182 182
         $texte .= ' <input type="file" name="uploadfile">';
183 183
         $texte .= '<input type="hidden" value="COMMANDE_ADDON_PDF_ODT_PATH" name="keyforuploaddir">';
Please login to merge, or discard this patch.
public/htdocs/core/modules/barcode/doc/phpbarcode.modules.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
         $_GET["scale"] = $scale;
156 156
         $_GET["mode"] = $mode;
157 157
 
158
-        global $filebarcode;    // Retrieve variable where to store filename
158
+        global $filebarcode; // Retrieve variable where to store filename
159 159
         if (empty($filebarcode)) {
160 160
             $filebarcode = '';
161 161
         }
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
 
204 204
         $newcode = $code;
205 205
         if (!preg_match('/^\w+$/', $code) || dol_strlen($code) > 32) {
206
-            $newcode = dol_hash($newcode, 'md5');   // No need for security here, we can use md5
206
+            $newcode = dol_hash($newcode, 'md5'); // No need for security here, we can use md5
207 207
         }
208 208
 
209 209
         global $filebarcode;
Please login to merge, or discard this patch.
public/htdocs/core/modules/stocktransfer/doc/pdf_eagle.modules.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -349,7 +349,7 @@  discard block
 block discarded – undo
349 349
                 $pdf->MultiCell(0, 3, ''); // Set interline to 3
350 350
                 $pdf->SetTextColor(0, 0, 0);
351 351
 
352
-                $tab_top = 90;  // position of top tab
352
+                $tab_top = 90; // position of top tab
353 353
                 $tab_top_newpage = (!getDolGlobalInt('MAIN_PDF_DONOTREPEAT_HEAD') ? 42 + $top_shift : 10);
354 354
 
355 355
                 $tab_height = $this->page_hauteur - $tab_top - $heightforfooter - $heightforfreetext;
@@ -1227,7 +1227,7 @@  discard block
 block discarded – undo
1227 1227
             // Show recipient
1228 1228
             $widthrecbox = getDolGlobalString('MAIN_PDF_USE_ISO_LOCATION') ? 92 : 100;
1229 1229
             if ($this->page_largeur < 210) {
1230
-                $widthrecbox = 84;  // To work with US executive format
1230
+                $widthrecbox = 84; // To work with US executive format
1231 1231
             }
1232 1232
             $posy = getDolGlobalString('MAIN_PDF_USE_ISO_LOCATION') ? 40 : 42;
1233 1233
             $posx = $this->page_largeur - $this->marge_droite - $widthrecbox;
Please login to merge, or discard this patch.
public/htdocs/core/modules/stock/doc/doc_generic_stock_odt.modules.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@
 block discarded – undo
173 173
         $maxfilesizearray = getMaxFileSizeArray();
174 174
         $maxmin = $maxfilesizearray['maxmin'];
175 175
         if ($maxmin > 0) {
176
-            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">';    // MAX_FILE_SIZE must precede the field type=file
176
+            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file
177 177
         }
178 178
         $texte .= ' <input type="file" name="uploadfile">';
179 179
         $texte .= '<input type="hidden" value="STOCK_ADDON_PDF_ODT_PATH" name="keyforuploaddir">';
Please login to merge, or discard this patch.