Code

Better renaming, php case sensitive versus ldap which is not case sensitive
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 15 Sep 2005 06:33:52 +0000 (06:33 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 15 Sep 2005 06:33:52 +0000 (06:33 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1364 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/gofon/conference/tabs_conference.inc

index ce623065dccbb806944afcf13803551da58d6d7f..e6e800aed2490fde55f83a2aa038f52b556d1dc8 100644 (file)
@@ -21,7 +21,11 @@ class conferencetabs extends tabs
        $baseobject= $this->by_object['conference'];
        $new_dn= 'cn='.$baseobject->cn.','.$baseobject->base;
 
-       if ($this->dn != $new_dn && $this->dn != "new"){
+       if(strtolower($this->dn)==strtolower($new_dn)){
+               $this->dn=$new_dn;
+       }
+
+       if($this->dn != $new_dn){
                $baseobject->recursive_move($this->dn, $new_dn);
        }
        $this->dn= $new_dn;