Completed
Push — development ( 037316...a4689b )
by Nils
09:08
created
sources/main.queries.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
             } elseif (null !== filter_input(INPUT_POST, 'change_pw_origine', FILTER_SANITIZE_STRING)
209 209
                 && ((filter_input(INPUT_POST, 'change_pw_origine', FILTER_SANITIZE_STRING) === "admin_change"
210 210
                     || filter_input(INPUT_POST, 'change_pw_origine', FILTER_SANITIZE_STRING) === "user_change"
211
-                    ) && ($_SESSION['user_admin'] === "1"|| $_SESSION['user_manager'] === "1"
211
+                    ) && ($_SESSION['user_admin'] === "1" || $_SESSION['user_manager'] === "1"
212 212
                     || $_SESSION['user_can_manage_all_users'] === "1")
213 213
                 )
214 214
             ) {
@@ -1249,10 +1249,10 @@  discard block
 block discarded – undo
1249 1249
 
1250 1250
                     // Identify url to anonymize it
1251 1251
                     if (strpos($line, 'cpassman_url') > 0 && empty($url_found) === true) {
1252
-                        $url_found = substr($line, 19, strlen($line) - 22);//echo $url_found." ; ";
1252
+                        $url_found = substr($line, 19, strlen($line) - 22); //echo $url_found." ; ";
1253 1253
                         $tmp = parse_url($url_found);
1254
-                        $anonym_url = $tmp['scheme'] . '://<anonym_url>' . $tmp['path'];
1255
-                        $line = "'cpassman_url' => '" . $anonym_url . "\n";
1254
+                        $anonym_url = $tmp['scheme'].'://<anonym_url>'.$tmp['path'];
1255
+                        $line = "'cpassman_url' => '".$anonym_url."\n";
1256 1256
                     }
1257 1257
 
1258 1258
                     // Anonymize all urls
@@ -1319,7 +1319,7 @@  discard block
 block discarded – undo
1319 1319
 
1320 1320
 **Teampass configuration file:**
1321 1321
 ```
1322
-" . $list_of_options . "
1322
+" . $list_of_options."
1323 1323
 ```
1324 1324
 
1325 1325
 **Updated from an older Teampass or fresh install:**
@@ -1334,12 +1334,12 @@  discard block
 block discarded – undo
1334 1334
 
1335 1335
 #### Web server error log
1336 1336
 ```
1337
-" . $err['message']." - ".$err['file']." (".$err['line'] .")
1337
+" . $err['message']." - ".$err['file']." (".$err['line'].")
1338 1338
 ```
1339 1339
 
1340 1340
 #### Teampass 10 last system errors
1341 1341
 ```
1342
-" . $teampass_errors ."
1342
+" . $teampass_errors."
1343 1343
 ```
1344 1344
 
1345 1345
 #### Log from the web-browser developer console (CTRL + SHIFT + i)
Please login to merge, or discard this patch.