Code

Another fix for the XDRiver inheritance:
[gosa.git] / trunk / gosa-plugins / goto / admin / systems / goto / class_workstationService.inc
index 977da93fd5ae0179b43cc43f38030448f28caa55..7d0e3dc87508b99330565c0cbcc372ce12e7fb3f 100644 (file)
@@ -80,7 +80,9 @@ class workservice extends plugin
     }
 
     /* Get list of available xdrivers */
-    $this->XDrivers = $this->getListOfXDrivers();
+    foreach($this->getListOfXDrivers() as $xdriver) {
+      $this->XDrivers[$xdriver] = $xdriver;
+    }
 
     array_unshift($this->XDrivers, "["._("unknown")."]");