This commit is contained in:
Roland Gruber 2015-12-22 19:43:55 +00:00
parent a14a3bb0de
commit 78f12f42d8
1 changed files with 2 additions and 1 deletions

View File

@ -559,7 +559,8 @@ class nisNetGroupUser extends baseModule {
$current = ldapGetDN($dn, array('nisnetgrouptriple')); $current = ldapGetDN($dn, array('nisnetgrouptriple'));
if (empty($current)) { if (empty($current)) {
$errors[] = array('ERROR', sprintf(_('Was unable to modify attributes of DN: %s.'), $dn)); $errors[] = array('ERROR', sprintf(_('Was unable to modify attributes of DN: %s.'), $dn));
continue; $temp['counter']++;
return;
} }
$triples = empty($current['nisnetgrouptriple']) ? array() : $current['nisnetgrouptriple']; $triples = empty($current['nisnetgrouptriple']) ? array() : $current['nisnetgrouptriple'];
$triples = array_merge($temp['groups'][$dn], $triples); $triples = array_merge($temp['groups'][$dn], $triples);