do not render empty help entries
This commit is contained in:
parent
d3d6dfc032
commit
b57cdea3fc
|
@ -888,6 +888,9 @@ class htmlHelpLink extends htmlElement {
|
||||||
}
|
}
|
||||||
// print link
|
// print link
|
||||||
$helpEntry = getHelp($module, $this->helpID, $scope);
|
$helpEntry = getHelp($module, $this->helpID, $scope);
|
||||||
|
if (empty($helpEntry)) {
|
||||||
|
return array();
|
||||||
|
}
|
||||||
printHelpLink($helpEntry, $this->helpID, $module, $scope, $this->cssClasses);
|
printHelpLink($helpEntry, $this->helpID, $module, $scope, $this->cssClasses);
|
||||||
return array();
|
return array();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue