From: hickert Date: Tue, 23 Jun 2009 13:17:05 +0000 (+0000) Subject: Applied lhm patch from revision : 13761 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0ad7c20808e880d66e56bee0804f51c6e868e416;p=gosa.git Applied lhm patch from revision : 13761 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13776 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/ogroups/class_ogroup.inc b/gosa-core/plugins/admin/ogroups/class_ogroup.inc index 45faac81f..991937afa 100644 --- a/gosa-core/plugins/admin/ogroups/class_ogroup.inc +++ b/gosa-core/plugins/admin/ogroups/class_ogroup.inc @@ -914,7 +914,7 @@ class ogroup extends plugin } $ldap = $this->config->get_ldap_link(); - if($this->dn != $new_dn){ + if(LDAP::fix($this->dn) != LDAP::fix($new_dn)){ $ldap->cat ($new_dn, array('dn')); } diff --git a/gosa-core/plugins/admin/ogroups/tabs_ogroups.inc b/gosa-core/plugins/admin/ogroups/tabs_ogroups.inc index a5cbaf79f..f70d3c374 100644 --- a/gosa-core/plugins/admin/ogroups/tabs_ogroups.inc +++ b/gosa-core/plugins/admin/ogroups/tabs_ogroups.inc @@ -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"){