Code

Implement a debconf configuration overview (Trac #2025)
[gosa.git] / trunk / gosa-plugins / fai / admin / fai / class_faiPackageConfiguration.inc
index ab437c3bc3254caff06dc610194527eb1a9f1a74..d0e0df3c5784811acb347ea53e0e17e16f8db68e 100644 (file)
@@ -48,6 +48,9 @@ class faiPackageConfiguration extends plugin
     $this->Debconf_handle->load_from_string($tpl);
     if($this->Debconf_handle->has_template()){
       foreach($this->pkg_config as $var){
+        if (is_array($var['Value'])) {
+          $var['Value'] = "";
+        }
         $this->Debconf_handle->SetDefault($var['Name'],$var['Value']);
       }
     }