diff --git a/src/components/com_weblinks/src/View/Form/HtmlView.php b/src/components/com_weblinks/src/View/Form/HtmlView.php index 99ea8fe6ee..2e0158c469 100644 --- a/src/components/com_weblinks/src/View/Form/HtmlView.php +++ b/src/components/com_weblinks/src/View/Form/HtmlView.php @@ -111,7 +111,7 @@ public function display($tpl = null) } // Create a shortcut to the parameters. - $params = &$this->state->params; + $params = $this->state->get('params'); // Escape strings for HTML output $this->pageclass_sfx = htmlspecialchars($params->get('pageclass_sfx', ''));