X-Git-Url: https://git.octo.it/?p=licom.git;a=blobdiff_plain;f=lib%2FLiCoM%2FGroup.pm;fp=lib%2FLiCoM%2FGroup.pm;h=7bdc500763eb2fcbacea0408cb6ec13a78b2d634;hp=79530f11796476a4900183d1268184628225d84a;hb=0bfd28f200d96adda48e595db0b85a534cc03c8b;hpb=4c5254efaa25f9fbb401ea66cee3430bcde41bd2 diff --git a/lib/LiCoM/Group.pm b/lib/LiCoM/Group.pm index 79530f1..7bdc500 100644 --- a/lib/LiCoM/Group.pm +++ b/lib/LiCoM/Group.pm @@ -118,7 +118,7 @@ sub create ($$$@) $entry->add (ou => $ou); $entry->add (cn => $name); $entry->add (member => [map { _cn_to_dn ($_) } (@members)]); - $entry->add (description => $desc); + $entry->add (description => $desc) if ($desc); $entry->dn ($dn); $entry->changetype ('add');