aboutsummaryrefslogtreecommitdiff
path: root/lib/classes/helpbar/Helpbar.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/classes/helpbar/Helpbar.php')
-rw-r--r--lib/classes/helpbar/Helpbar.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/classes/helpbar/Helpbar.php b/lib/classes/helpbar/Helpbar.php
index cfa98a3..c4abfc4 100644
--- a/lib/classes/helpbar/Helpbar.php
+++ b/lib/classes/helpbar/Helpbar.php
@@ -253,7 +253,8 @@ class Helpbar extends WidgetContainer
// add wiki link and remove it from navigation
$this->addLink(
_('Weiterführende Hilfe'),
- format_help_url(PageLayout::getHelpKeyword()), Icon::create('link-extern', 'info_alt'),
+ PageLayout::getHelpUrl(),
+ Icon::create('link-extern', Icon::ROLE_INFO_ALT),
'_blank',
['rel' => 'noopener noreferrer']
);
@@ -264,7 +265,7 @@ class Helpbar extends WidgetContainer
$template = $GLOBALS['template_factory']->open('helpbar/helpbar');
$template->widgets = $this->widgets;
$template->open = $this->open;
- $template->tour_data = $tour_data;
+ $template->tour_data = $tour_data ?? null;
$content = $template->render();
}