Code

Move cn to target
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 19 Feb 2008 17:22:53 +0000 (17:22 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 19 Feb 2008 17:22:53 +0000 (17:22 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8972 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/tabs_component.inc
gosa-plugins/systems/admin/systems/tabs_server.inc

index ff0c69d9a9543ad536203e9170a34c9397248aa6..25f34f2615246e6c60f9a475f52e048867c60e5c 100644 (file)
@@ -14,6 +14,9 @@ class componenttabs extends tabs
   function save_object($save_current= FALSE)
   {
     tabs::save_object($save_current);
+
+    $base_obj = $this->by_object['componentGeneric'];
+    $baseobject->netConfigDNS->cn= $baseobject->cn;
   }
 
 
index 322851b61638a8a2167d70cb6fd27175cc197391..d19ab53d71c3c36cf5fa285a457c123290c7ae4b 100644 (file)
@@ -37,6 +37,9 @@ class servtabs extends tabs
   function save_object($save_current= FALSE)
   {
     tabs::save_object($save_current);
+
+    $base_obj = $this->by_object['servgeneric'];
+    $baseobject->netConfigDNS->cn= $baseobject->cn;
   }