Skip to content

Commit

Permalink
Update module.php
Browse files Browse the repository at this point in the history
  • Loading branch information
GIGABAIT93 committed Jun 12, 2022
1 parent 4845fa0 commit 6294e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/CustomDropdown/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function onPageLoad($user, $pages, $cache, $smarty, $navs, $widgets, $tem


if ($user->hasPermission('admincp.csdropdown')) {
$order = end($navs[2]->returnNav())['order'] + 2.2;
$order = end($navs[2]->returnNav())['order'] + 1.1;
$navs[2]->add('cs_dropdown_divider', mb_strtoupper($cs_dropdown_title, 'UTF-8'), 'divider', 'top', null, $order, '');
$navs[2]->add('cs_dropdown_items', $cs_dropdown_title, URL::build('/panel/cs-dropdown'), 'top', null, $order + 0.1, $icon);
}
Expand Down

0 comments on commit 6294e21

Please sign in to comment.