Passed
Push — development ( 2b0c4d...3aeb6f )
by Nils
05:40
created
sources/identify.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -503,11 +503,11 @@
 block discarded – undo
503 503
                                 if ($entries['count'] > 0) {
504 504
                                     // Now check if group fits
505 505
                                     for ($i=0; $i<$entries['count']; $i++) {
506
-                                      $parsr=ldap_explode_dn($entries[$i]['dn'], 0);
507
-                                      if (str_replace(array('CN=','cn='), '', $parsr[0]) === $SETTINGS['ldap_usergroup']) {
506
+                                        $parsr=ldap_explode_dn($entries[$i]['dn'], 0);
507
+                                        if (str_replace(array('CN=','cn='), '', $parsr[0]) === $SETTINGS['ldap_usergroup']) {
508 508
                                         $GroupRestrictionEnabled = true;
509 509
                                         break;
510
-                                      }
510
+                                        }
511 511
                                     }
512 512
 
513 513
                                 }
Please login to merge, or discard this patch.