Code

input tag fix pass 1
[gosa.git] / gosa-core / plugins / admin / ogroups / tabs_ogroups.inc
index a5cbaf79fd15acdd56e34349e66234ee3b6facdc..bea1067d843ef66cfd6ef26bf4e66d62154df018 100644 (file)
@@ -291,10 +291,10 @@ class ogrouptabs extends tabs
     return ( $str);
   }  
 
-  function ogrouptabs($config, $data, $dn,$category ="ogroups")
+  function ogrouptabs($config, $data, $dn,$category ="ogroups",$hide_refs = FALSE, $hide_acls = FALSE)
   {
 
-    tabs::tabs($config, $data, $dn, $category);
+    tabs::tabs($config, $data, $dn, $category,$hide_refs, $hide_acls);
     $this->base= $this->by_object['ogroup']->base;
     $this->acl_category = $category;
 
@@ -343,7 +343,7 @@ class ogrouptabs extends tabs
     $new_dn= 'cn='.$baseobject->cn.','.get_ou('ogroupRDN').$baseobject->base;
 
     /* Move group? */
-    if ($this->dn != $new_dn){
+    if (LDAP::fix($this->dn) != LDAP::fix($new_dn)){
 
       /* Write entry on new 'dn' */
       if ($this->dn != "new"){