Passed
Push — main ( eb8d0e...0b1fab )
by Rafael
52:51
created
public/htdocs/opensurvey/lib/opensurvey.lib.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -217,7 +217,7 @@
 block discarded – undo
217 217
 {
218 218
     $string = "";
219 219
     $chaine = "abcdefghijklmnopqrstuvwxyz123456789";
220
-    mt_srand((int)((float)microtime() * 1000000));
220
+    mt_srand((int) ((float) microtime() * 1000000));
221 221
     for ($i = 0; $i < $car; $i++) {
222 222
         $string .= $chaine[mt_rand() % strlen($chaine)];
223 223
     }
Please login to merge, or discard this patch.
public/htdocs/public/payment/paymentko.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 // For MultiCompany module.
44 44
 // Do not use GETPOST here, function is not defined and this test must be done before including main.inc.php
45 45
 // Because 2 entities can have the same ref.
46
-$entity = (!empty($_GET['e']) ? (int)$_GET['e'] : (!empty($_POST['e']) ? (int)$_POST['e'] : 1));
46
+$entity = (!empty($_GET['e']) ? (int) $_GET['e'] : (!empty($_POST['e']) ? (int) $_POST['e'] : 1));
47 47
 if (is_numeric($entity)) {
48 48
     define("DOLENTITY", $entity);
49 49
 }
Please login to merge, or discard this patch.
public/htdocs/public/eventorganization/subscriptionok.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 // For MultiCompany module.
46 46
 // Do not use GETPOST here, function is not defined and define must be done before including main.inc.php
47 47
 // Because 2 entities can have the same ref.
48
-$entity = (!empty($_GET['e']) ? (int)$_GET['e'] : (!empty($_POST['e']) ? (int)$_POST['e'] : 1));
48
+$entity = (!empty($_GET['e']) ? (int) $_GET['e'] : (!empty($_POST['e']) ? (int) $_POST['e'] : 1));
49 49
 if (is_numeric($entity)) {
50 50
     define("DOLENTITY", $entity);
51 51
 }
Please login to merge, or discard this patch.