From 4892c8016de431491a4f2270c7616253c90c8359 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 20 Nov 2007 12:30:31 +0000 Subject: [PATCH] Adapt FAIclasses when copying workstations git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7824 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_workstationStartup.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc index c92cde85a..76ba599a5 100644 --- a/plugins/admin/systems/class_workstationStartup.inc +++ b/plugins/admin/systems/class_workstationStartup.inc @@ -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; } } -- 2.30.2