Skip to content
Snippets Groups Projects
Commit fcd2f303 authored by Eric Bremner's avatar Eric Bremner Committed by Igor Biki
Browse files

ISTWCMS-4199: coding standards

parent 1839baef
No related branches found
No related tags found
1 merge request!17Feature/istwcms 4199 ebremner menu items count
......@@ -353,7 +353,7 @@ class UWService implements UWServiceInterface {
public function uwCountMenuItems($menus, &$menu_items_count): void {
// Step through the menus and check for submenus and count.
foreach ($menus as $index => $menu) {
foreach ($menus as $menu) {
// If there is a submenu, recursivley call the count function.
if (isset($menu['submenu']) && count($menu['submenu']) > 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment