From b57cdea3fc20bf2a6be487cbf2546c970a43edbf Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 20 May 2017 11:46:26 +0200 Subject: [PATCH] do not render empty help entries --- lam/lib/html.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lam/lib/html.inc b/lam/lib/html.inc index b84728f7..f4546b4f 100644 --- a/lam/lib/html.inc +++ b/lam/lib/html.inc @@ -888,6 +888,9 @@ class htmlHelpLink extends htmlElement { } // print link $helpEntry = getHelp($module, $this->helpID, $scope); + if (empty($helpEntry)) { + return array(); + } printHelpLink($helpEntry, $this->helpID, $module, $scope, $this->cssClasses); return array(); }