Completed
Push — development ( 64f485...241922 )
by Nils
08:27
created
includes/libraries/protect/AntiXSS/data/x22.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,6 @@
 block discarded – undo
19 19
 '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]',
20 20
 );
21 21
 
22
-$result =& $data;
22
+$result = & $data;
23 23
 unset($data);
24 24
 return $result;
Please login to merge, or discard this patch.
includes/libraries/protect/AntiXSS/data/x26.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,6 @@
 block discarded – undo
19 19
 '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]',
20 20
 );
21 21
 
22
-$result =& $data;
22
+$result = & $data;
23 23
 unset($data);
24 24
 return $result;
Please login to merge, or discard this patch.
includes/libraries/protect/AntiXSS/data/x0f.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,6 @@
 block discarded – undo
19 19
 '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]',
20 20
 );
21 21
 
22
-$result =& $data;
22
+$result = & $data;
23 23
 unset($data);
24 24
 return $result;
Please login to merge, or discard this patch.
includes/libraries/protect/AntiXSS/data/x31.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,6 @@
 block discarded – undo
19 19
 '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]',
20 20
 );
21 21
 
22
-$result =& $data;
22
+$result = & $data;
23 23
 unset($data);
24 24
 return $result;
Please login to merge, or discard this patch.
includes/libraries/protect/AntiXSS/data/x0e.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,6 @@
 block discarded – undo
19 19
 '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]',
20 20
 );
21 21
 
22
-$result =& $data;
22
+$result = & $data;
23 23
 unset($data);
24 24
 return $result;
Please login to merge, or discard this patch.
includes/libraries/protect/AntiXSS/data/x9f.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,6 @@
 block discarded – undo
19 19
 '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]', '[?]',
20 20
 );
21 21
 
22
-$result =& $data;
22
+$result = & $data;
23 23
 unset($data);
24 24
 return $result;
Please login to merge, or discard this patch.
sources/main.functions.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1805,7 +1805,7 @@  discard block
 block discarded – undo
1805 1805
     $antiXss = new protect\AntiXSS\AntiXSS();
1806 1806
 
1807 1807
     // Protect against bad inputs
1808
-    if (is_array($source_file) ||is_array($target_file)) {
1808
+    if (is_array($source_file) || is_array($target_file)) {
1809 1809
         return 'error_cannot_be_array';
1810 1810
     }
1811 1811
 
@@ -1958,7 +1958,7 @@  discard block
 block discarded – undo
1958 1958
     $newArr = array();
1959 1959
 
1960 1960
     foreach ($arr as $key => $value) {
1961
-        $newArr[ $key ] = (is_array($value) ? array_map_r($func, $value) : ( is_array($func) ? call_user_func_array($func, $value) : $func( $value )));
1961
+        $newArr[$key] = (is_array($value) ? array_map_r($func, $value) : (is_array($func) ? call_user_func_array($func, $value) : $func($value)));
1962 1962
     }
1963 1963
 
1964 1964
     return $newArr;
Please login to merge, or discard this patch.
sources/import.queries.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
             $config->setIgnoreHeaderLine("true");
138 138
             // extract data from CSV file
139 139
             $interpreter = new Interpreter();
140
-            $interpreter->addObserver(function (array $row) use (&$valuesToImport) {
140
+            $interpreter->addObserver(function(array $row) use (&$valuesToImport) {
141 141
                 $valuesToImport[] = array(
142 142
                     'Label'     => $row[0],
143 143
                     'Login'     => $row[1],
@@ -966,7 +966,7 @@  discard block
 block discarded – undo
966 966
         break;
967 967
 }
968 968
 
969
-spl_autoload_register(function ($class) {
969
+spl_autoload_register(function($class) {
970 970
     $prefix = 'League\\Csv\\';
971 971
     $base_dir = __DIR__.'/src/';
972 972
     $len = strlen($prefix);
Please login to merge, or discard this patch.
sources/main.queries.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@
 block discarded – undo
199 199
             } elseif (null !== filter_input(INPUT_POST, 'change_pw_origine', FILTER_SANITIZE_STRING)
200 200
                 && ((filter_input(INPUT_POST, 'change_pw_origine', FILTER_SANITIZE_STRING) === "admin_change"
201 201
                     || filter_input(INPUT_POST, 'change_pw_origine', FILTER_SANITIZE_STRING) === "user_change"
202
-                    ) && ($_SESSION['user_admin'] === "1"|| $_SESSION['user_manager'] === "1"
202
+                    ) && ($_SESSION['user_admin'] === "1" || $_SESSION['user_manager'] === "1"
203 203
                     || $_SESSION['user_can_manage_all_users'] === "1")
204 204
                 )
205 205
             ) {
Please login to merge, or discard this patch.