From 61b8db0e3cf44698c52dfa113993e8af11fe94d7 Mon Sep 17 00:00:00 2001 From: psc Date: Fri, 3 Dec 2010 10:18:59 +0000 Subject: [PATCH] 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 --- trunk/gosa-plugins/goto/admin/ogroups/goto/class_termgroup.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.30.2