Code

Fixed save method which currently just shows the changed values
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 1 Oct 2010 15:43:56 +0000 (15:43 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 1 Oct 2010 15:43:56 +0000 (15:43 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19891 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/Config/class_DeviceConfig.inc

index 4b7951793d975c9fdc52cafb9384a4e6d3a058d5..10c0620adcc82c3542c0c5cac236cd15a2b0cc31 100644 (file)
@@ -524,7 +524,10 @@ class DeviceConfig extends management
     {
         foreach($this->allConfiguredItems as $name => $item){
             foreach($item['values'] as $oName => $oValue){
-                echo "<br>{$name} -- <i>{$item['type']}</i>: <b>{$oName}</b>: {$oValue}";
+                if(!is_array($oValue)) $oValue = array($oValue);
+                foreach($oValue as $val){
+                    echo "<br>{$name} -- <i>{$item['type']}</i>: <b>{$oName}</b>: {$val}";
+                }
             }
         }
     }