summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ec41b0f)
raw | patch | inline | side by side (parent: ec41b0f)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 10 Nov 2008 14:15:17 +0000 (14:15 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 10 Nov 2008 14:15:17 +0000 (14:15 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@12985 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/server/events/gosaTriggered.pm | patch | blob | history |
index 659557c08cf367d057da21835b8cd4638218c31c..abd9448075cd1006eb4d712720a03ff3de5268bd 100644 (file)
}
# Add to ObjectGroup
- if(!(scalar grep $_ eq $ldap_entry->dn, @{$ogroup_entry->get_value('member', asref => 1)})) {
+ my $ogroup_member = $ogroup_entry->get_value('member', asref => 1);
+ if( (!defined($ogroup_member)) ||
+ (!defined($ldap_entry)) ||
+ (!defined($ldap_entry->dn)) ||
+ (!(scalar grep $_ eq $ldap_entry->dn, @{$ogroup_member}))) {
$ogroup_entry->add (
'member' => $ldap_entry->dn(),
);