From 16d953cb3ee33b2220fbd75cf85c83c7e56acf03 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 29 Apr 2008 07:36:53 +0000 Subject: [PATCH] Ensure that description is set somehow. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10716 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_faiPackageEntry.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gosa-plugins/fai/admin/fai/class_faiPackageEntry.inc b/gosa-plugins/fai/admin/fai/class_faiPackageEntry.inc index e184c7f82..8c3294021 100644 --- a/gosa-plugins/fai/admin/fai/class_faiPackageEntry.inc +++ b/gosa-plugins/fai/admin/fai/class_faiPackageEntry.inc @@ -111,6 +111,11 @@ class faiPackageEntry extends plugin }else{ $check = ""; } + + if(!isset($pkg['DESCRIPTION'])){ + $pkg['DESCRIPTION'] = " "; + } + $chkbox = " "; $divlist->AddEntry(array(array("string"=>$chkbox, "attach" => "style='text-align:center;width:20px;'"), -- 2.30.2