diff --git a/administrator/components/com_config/src/View/Component/HtmlView.php b/administrator/components/com_config/src/View/Component/HtmlView.php index ce413d93a57cc..b42050c05efe1 100644 --- a/administrator/components/com_config/src/View/Component/HtmlView.php +++ b/administrator/components/com_config/src/View/Component/HtmlView.php @@ -161,8 +161,9 @@ protected function addToolbar() $toolbar->inlinehelp($targetClass); } - $helpUrl = $this->form->getData()->get('helpURL'); - $helpKey = (string) $this->form->getXml()->config->help['key']; + $helpUrl = $this->form->getData()->get('helpURL'); + $helpOverride = (string) $this->form->getXml()->config->help['url']; + $helpKey = (string) $this->form->getXml()->config->help['key']; // Try with legacy language key if (!$helpKey) { @@ -174,6 +175,6 @@ protected function addToolbar() } } - $toolbar->help($helpKey, (bool) $helpUrl, null, $this->currentComponent); + $toolbar->help($helpKey, (bool) $helpUrl, $helpOverride, $this->currentComponent); } }