PHP 7
This commit is contained in:
parent
a14a3bb0de
commit
78f12f42d8
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue