From: hickert Date: Wed, 27 Aug 2008 10:07:03 +0000 (+0000) Subject: Updated group mail X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=32cd9bc49c00bb574210354a078831704b37929e;p=gosa.git Updated group mail -Ensure that cn is set correctly. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12288 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc index 277a1b230..49276bb49 100644 --- a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc +++ b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc @@ -72,6 +72,9 @@ class mailgroup extends plugin /* Initialise all available attributes ... if possible */ plugin::plugin($config, $dn); + if (isset($this->attrs['cn'][0])){ + $this->uid = $this->cn = $this->attrs['cn'][0]; + } $this->orig_cn = $this->cn; /* Set mailMethod to the one defined in gosa.conf