From 38cd30430f13a25a2528cf1e4256c4f5bed7f0bb Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 24 Mar 2010 07:45:16 +0000 Subject: [PATCH] Updated rendering of act git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17036 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_listing.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gosa-core/include/class_listing.inc b/gosa-core/include/class_listing.inc index 10fec9988..75fe5cd42 100644 --- a/gosa-core/include/class_listing.inc +++ b/gosa-core/include/class_listing.inc @@ -1100,9 +1100,11 @@ class listing { function renderActionMenu() { + $result= "
"; + // Don't send anything if the menu is not defined if (!isset($this->xmlData['actionmenu']['action'])){ - return ""; + return $result; } // Array? @@ -1112,8 +1114,7 @@ class listing { // Load shortcut $actions= &$this->xmlData['actionmenu']['action']; - $result= "
". - "