From: Gunnar Wrobel Date: Fri, 1 May 2009 12:59:39 +0000 (+0200) Subject: Retrieve the attributes required for id generation if they are missing. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=fe050399654cc04f885678e539b5f48fe62a4ed7;p=horde.git Retrieve the attributes required for id generation if they are missing. --- diff --git a/framework/Kolab_Server/lib/Horde/Kolab/Server/Object/Kolabgroupofnames.php b/framework/Kolab_Server/lib/Horde/Kolab/Server/Object/Kolabgroupofnames.php index 83cca6a19..acb55aa2c 100644 --- a/framework/Kolab_Server/lib/Horde/Kolab/Server/Object/Kolabgroupofnames.php +++ b/framework/Kolab_Server/lib/Horde/Kolab/Server/Object/Kolabgroupofnames.php @@ -113,6 +113,12 @@ class Horde_Kolab_Server_Object_Kolabgroupofnames extends Horde_Kolab_Server_Obj && !isset($info[self::ATTRIBUTE_CN])) { return false; } + if (!isset($info[self::ATTRIBUTE_MAIL])) { + $info[self::ATTRIBUTE_MAIL] = $this->get(self::ATTRIBUTE_MAIL); + } + if (!isset($info[self::ATTRIBUTE_CN])) { + $info[self::ATTRIBUTE_CN] = $this->get(self::ATTRIBUTE_CN); + } } if (isset($info[self::ATTRIBUTE_MAIL])) {