From 32cd9bc49c00bb574210354a078831704b37929e Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 27 Aug 2008 10:07:03 +0000 Subject: [PATCH] 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 --- gosa-plugins/mail/admin/groups/mail/class_groupMail.inc | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2