Code

Updated plugin creation && locking for all main.incs
[gosa.git] / gosa-plugins / goto / admin / devices / tabs_devices.inc
index 0feddfc4eaab39583ae0e401fb5764605f65735f..f6664a16f6edb85eb12968070ab76bc389394b4d 100644 (file)
@@ -15,7 +15,7 @@ class devicetabs extends tabs
   function save($ignore_account= FALSE)
   {
     $baseobject= $this->by_object['deviceGeneric'];
-    $new_dn= "cn=".$baseobject->cn.",".get_ou('deviceou').$baseobject->base;
+    $new_dn= "cn=".$baseobject->cn.",".get_ou('deviceRDN').$baseobject->base;
 
     /* Move group? */
     if ($this->dn != $new_dn){