diff --git a/core/control/ContentController.php b/core/control/ContentController.php index b7ee73c1d..86525188f 100644 --- a/core/control/ContentController.php +++ b/core/control/ContentController.php @@ -133,7 +133,7 @@ class ContentController extends Controller { /** * Returns a fixed navigation menu of the given level. */ - public function getMenu($level) { + public function getMenu($level = 1) { if($level == 1) { $result = DataObject::get("SiteTree", "ShowInMenus = 1 AND ParentID = 0");