Commit cae8fee5 authored by Chris Graham's avatar Chris Graham
Browse files

Fixed MANTIS-4510 (Menu "Replace this branch" option unreliable)

parent 2a5cdf3c
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -407,10 +407,6 @@ function _build_stored_menu_branch($item, $items)
                switch ($item['i_include_sitemap']) {
                    case INCLUDE_SITEMAP_OVER:
                        $branches = $extra_branch['children'];
                        if (array_key_exists(0, $branches)) {
                            $branch['children'] = $branches[0]['children'];
                            $branches[0] = $branch;
                        }
                        break;

                    case INCLUDE_SITEMAP_UNDER: