From c9e0f2a7a65f923e45f28428d4f615448ea750c5 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 1 Oct 2010 15:43:56 +0000 Subject: [PATCH] Fixed save method which currently just shows the changed values git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19891 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/goto/Config/class_DeviceConfig.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/goto/admin/systems/goto/Config/class_DeviceConfig.inc b/gosa-plugins/goto/admin/systems/goto/Config/class_DeviceConfig.inc index 4b7951793..10c0620ad 100644 --- a/gosa-plugins/goto/admin/systems/goto/Config/class_DeviceConfig.inc +++ b/gosa-plugins/goto/admin/systems/goto/Config/class_DeviceConfig.inc @@ -524,7 +524,10 @@ class DeviceConfig extends management { foreach($this->allConfiguredItems as $name => $item){ foreach($item['values'] as $oName => $oValue){ - echo "
{$name} -- {$item['type']}: {$oName}: {$oValue}"; + if(!is_array($oValue)) $oValue = array($oValue); + foreach($oValue as $val){ + echo "
{$name} -- {$item['type']}: {$oName}: {$val}"; + } } } } -- 2.30.2