X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=include%2Fclass_pluglist.inc;h=42f729db8992deab90bdb9f049bb8ab3fb9a4fc0;hb=f15be1a7b19fb3011c05484627e506a23c1c5d61;hp=d4d017d1bc878e2e0bc1db2398f82ae7b445f04e;hpb=e847e837641359c06eabb16fda59392bc704fb09;p=gosa.git diff --git a/include/class_pluglist.inc b/include/class_pluglist.inc index d4d017d1b..42f729db8 100644 --- a/include/class_pluglist.inc +++ b/include/class_pluglist.inc @@ -120,10 +120,17 @@ class pluglist { $plHeadline= $vars['plHeadline']; $plDescription= $vars['plDescription']; + $index= $this->get_index($info['PATH']); $image= get_template_path('images/'.$info['ICON']); $href= "main.php?plug=$index&reset=1"; + if(!$vars){ + $plHeadline = _("Unknown"); + $plDescription = _("Unknown"); + $href= "main.php?reset=1"; + } + if ($this->check_access($info['ACL'])){ $entries= $entries."