Code

Apply fix for #3020
[gosa.git] / trunk / gosa-plugins / goto / admin / ogroups / goto / class_termgroup.inc
index cac4ced98e79c4f0f45ef6077566c532bee4be29..53e23ec4e152dafb7e3763f53ec51ffe4e2ae666 100644 (file)
@@ -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();
@@ -188,7 +188,7 @@ class termgroup extends plugin
 
     /* Handle the inherit to members button */
     if (isset($_POST['inheritToMembers'])) {
-      $this->inherit_confirmation = new msg_dialog(_("Pass on attributes to all members"),  _("This action will overwrite all attributes of the group members with the values specified in this object group. Do you want to proceed?"),CONFIRM_DIALOG);
+      $this->inherit_confirmation = new msg_dialog(_("Pass on all attributes to group members"),  _("This action will overwrite all attributes of the group members with the values specified in this object group. Do you want to proceed?"),CONFIRM_DIALOG);
     }
  
     if (is_object($this->inherit_confirmation) && ($this->inherit_confirmation->is_confirmed())) {