add support 7.x

This commit is contained in:
2025-06-20 15:04:02 +02:00
parent a89b724253
commit 0238e124c8
4 changed files with 11 additions and 16 deletions

View File

@ -24,18 +24,18 @@ class NavigationTreeSortedMenus extends NavigationTreeSortedMenus_parent
/**
* @param $dom
*/
protected function _addLinks($dom)
protected function addLinks($dom)
{
$this->d3SortMenus();
parent::_addLinks($dom);
parent::addLinks($dom);
}
public function d3SortMenus()
{
$sorting = Registry::getConfig()->getConfigParam('d3MenuSorting');
if (false === is_array($sorting) || false == count($sorting)) {
if (false === is_array($sorting) || !count($sorting)) {
return;
}