From: hickert Date: Tue, 24 Jan 2006 09:50:54 +0000 (+0000) Subject: Fixed some errors X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ea4d1ec05ae302fcabe8036becb214accc96dcab;p=gosa.git Fixed some errors git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2551 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiPackageEntry.inc b/plugins/admin/fai/class_faiPackageEntry.inc index 57e96f97d..3d5f07028 100644 --- a/plugins/admin/fai/class_faiPackageEntry.inc +++ b/plugins/admin/fai/class_faiPackageEntry.inc @@ -77,13 +77,14 @@ class faiPackageEntry extends plugin } } - ksort($this->categories); + @ksort($this->categories); - $CHKS = ""; - $i = 0; + $CHKS = "
"; + $CHKS .="
"; + $i = 0; + if(is_array($this->categories)) foreach($this->categories as $cat => $selected){ if($i == 3){ - $CHKS .="
"; $i = 0; } $i ++ ; diff --git a/plugins/admin/fai/faiPackageEntry.tpl b/plugins/admin/fai/faiPackageEntry.tpl index b2e434e9c..e9634f1f1 100644 --- a/plugins/admin/fai/faiPackageEntry.tpl +++ b/plugins/admin/fai/faiPackageEntry.tpl @@ -44,9 +44,7 @@
- + {t}Display objects matching{/t}