From: cajus Date: Wed, 24 Mar 2010 07:45:16 +0000 (+0000) Subject: Updated rendering of act X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=38cd30430f13a25a2528cf1e4256c4f5bed7f0bb;p=gosa.git Updated rendering of act git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17036 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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= "
". - "