Code

Ensure that description is set somehow.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 29 Apr 2008 07:36:53 +0000 (07:36 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 29 Apr 2008 07:36:53 +0000 (07:36 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10716 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiPackageEntry.inc

index e184c7f82b1d1dd6d1a8d1cd23b69cde0cde04c2..8c329402190c1f665d80ec402ca728dd9447adc4 100644 (file)
@@ -111,6 +111,11 @@ class faiPackageEntry extends plugin
       }else{
         $check = "";
       }
+
+      if(!isset($pkg['DESCRIPTION'])){
+        $pkg['DESCRIPTION'] = "&nbsp;";
+      }
+
       $chkbox = "<input type='checkbox' value='1' name='use_".base64_encode($pkg['PACKAGE'])."' ".$check.">
         <input type='hidden' value='1' name='wasonpage_".base64_encode($pkg['PACKAGE'])."'>";
       $divlist->AddEntry(array(array("string"=>$chkbox, "attach" => "style='text-align:center;width:20px;'"),