From 9f949701cad4df361f4110744456b00a9bec99e2 Mon Sep 17 00:00:00 2001 From: psc Date: Fri, 2 Oct 2009 15:10:49 +0000 Subject: [PATCH] Another fix for the XDRiver inheritance: Use the drivernames as key in the XDrivers array, so that on saving (not inherited) the attribute is set properly (#3020) git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@14496 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/goto/class_workstationService.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/trunk/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc b/trunk/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc index 977da93fd..7d0e3dc87 100644 --- a/trunk/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc +++ b/trunk/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc @@ -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")."]"); -- 2.30.2