From: psc Date: Fri, 3 Dec 2010 10:18:59 +0000 (+0000) Subject: Apply fix for #3020 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=61b8db0e3cf44698c52dfa113993e8af11fe94d7;p=gosa.git Apply fix for #3020 When loading member list of systems in an object group, make sure the properly escaped name is saved via LDAP::convert(). This fixes a warning message from the printGeneric class when the system is instantiated during pass_attributes_to_members(). git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@20513 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/trunk/gosa-plugins/goto/admin/ogroups/goto/class_termgroup.inc b/trunk/gosa-plugins/goto/admin/ogroups/goto/class_termgroup.inc index cf73a43db..53e23ec4e 100644 --- a/trunk/gosa-plugins/goto/admin/ogroups/goto/class_termgroup.inc +++ b/trunk/gosa-plugins/goto/admin/ogroups/goto/class_termgroup.inc @@ -65,7 +65,7 @@ class termgroup extends plugin if(isset($this->attrs['member'])){ for ($i= 0; $i<$this->attrs['member']['count']; $i++){ $member= $this->attrs['member'][$i]; - array_push($this->member_dn, $member); + array_push($this->member_dn, @LDAP::convert($member)); $ldap->cat($member, array('objectClass', 'macAddress', 'cn')); if ($ldap->success()){ $attrs = $ldap->fetch();