add support 7.x
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user