From: hickert Date: Fri, 1 Oct 2010 15:43:56 +0000 (+0000) Subject: Fixed save method which currently just shows the changed values X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c9e0f2a7a65f923e45f28428d4f615448ea750c5;p=gosa.git 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 --- 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}"; + } } } }