diff --git a/doc/config2xet.php b/doc/config2xet.php index f2adf048f3..5d0d9f5c87 100644 --- a/doc/config2xet.php +++ b/doc/config2xet.php @@ -93,7 +93,7 @@ foreach($trs[2] as $n => $tr) if ($commented) { echo $tr; - continue; + continue 2; } echo "\t\t\t\t\t\n"; } diff --git a/doc/ldap/nis2rfc2307bis.php b/doc/ldap/nis2rfc2307bis.php index c81e2bb8e1..468fe214cb 100755 --- a/doc/ldap/nis2rfc2307bis.php +++ b/doc/ldap/nis2rfc2307bis.php @@ -71,7 +71,7 @@ foreach($lines as $l => $line) break; case 'memberUid': $member_dn = 'uid='.$value.','.preg_replace($replace,$replace_with,$dn); - if (!in_array('dn: '.$member_dn,$lines)) continue; // member does not exist --> ignore him! + if (!in_array('dn: '.$member_dn,$lines)) continue 2; // member does not exist --> ignore him! $members[] = 'member: '.$member_dn; // fall-through default: