Code

Adapt FAIclasses when copying workstations
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 20 Nov 2007 12:30:31 +0000 (12:30 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 20 Nov 2007 12:30:31 +0000 (12:30 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7824 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_workstationStartup.inc

index c92cde85af17e5b50a6705e5e59ec45f84df1c2e..76ba599a58bdafac976b06850b74c051c3c70182 100644 (file)
@@ -264,7 +264,9 @@ class workstartup extends plugin
             $this->FAIrelease = substr( $class, 1 );
           }
           else
+          {
             $tmp2[$class] = $class;
+          }
         }
         $this->FAIclass = $tmp2;
       }
@@ -1282,7 +1284,7 @@ class workstartup extends plugin
 
     $source_o = new workstartup ($this->config, $source['dn']);
     
-    foreach(array("gotoModules", "gotoAutoFs", "gotoFilesystem","gotoKernelParameters","gotoShares","customParameters") as $attr){
+    foreach(array("FAIclass","gotoModules", "gotoAutoFs", "gotoFilesystem","gotoKernelParameters","gotoShares","customParameters") as $attr){
       $this->$attr = $source_o->$attr;
     }
   }