From 5a089949719eb3f26ece4cae478b1c5a1c94d2ee Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 27 Jul 2009 11:32:17 +0000 Subject: [PATCH] Avoid direct mapping of cn and mail. -Cyrus mailMethod couldn't be saved in some circumstances. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13953 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/mail/admin/groups/mail/class_groupMail.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc index 5bdd24b24..56361f493 100644 --- a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc +++ b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc @@ -54,7 +54,7 @@ class mailgroup extends plugin */ foreach(array("uid","cn") as $attr){ if(isset($this->parent->by_object['group']) && isset($this->parent->by_object['group']->$attr)){ - $this->$attr = &$this->parent->by_object['group']->$attr; + $this->$attr = $this->parent->by_object['group']->$attr; }elseif(isset($this->attrs[$attr])){ $this->$attr = $this->attrs[$attr][0]; } @@ -79,7 +79,7 @@ class mailgroup extends plugin * mail address with the accounts cn. */ if(!$this->mailMethod->isModifyableMail() && !$this->initially_was_account){ - $this->mail = &$base_object->cn; + $this->mail = $base_object->cn; } /* Load folder_acls with defaults. -- 2.30.2