Code

Fixed Problem from gosa-bugs@oss.gonicus.de 12.02.08 14:44:35
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 12 Feb 2008 14:51:40 +0000 (14:51 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 12 Feb 2008 14:51:40 +0000 (14:51 +0000)
-Renaming of printers.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@8872 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_printGeneric.inc

index 9fd41e31bb712854e879d0a4b897ffbea55a2d55..5b85ad59f98312cecf1ed02e3f8e9a14def27177 100644 (file)
@@ -833,7 +833,7 @@ class printgeneric extends plugin
       $ldap->add($this->attrs);
       $this->handle_post_events("add",array("macAddress" => $this->netConfigDNS->macAddress,"ipHostNumber" => $this->netConfigDNS->ipHostNumber));
     } else {
-      if ($this->orig_dn != $this->dn){
+      if (strtolower($this->dn) != strtolower($this->orig_dn)){
         $this->move($this->orig_dn, $this->dn);
       }