From: Dan Poltawski Date: Mon, 30 Apr 2012 03:46:15 +0000 (+0800) Subject: MDL-32508 navigation: show empty sections X-Git-Tag: v2.3.0-beta~575 X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=commitdiff_plain;h=fe221dd583d318d9f221d61061238051e431b2d3;ds=sidebyside MDL-32508 navigation: show empty sections --- diff --git a/lib/navigationlib.php b/lib/navigationlib.php index d2e7ed5928c..2aa79fea4f2 100644 --- a/lib/navigationlib.php +++ b/lib/navigationlib.php @@ -934,7 +934,7 @@ class global_navigation extends navigation_node { /** @var array An array for containing root navigation nodes */ protected $rootnodes = array(); /** @var bool A switch for whether to show empty sections in the navigation */ - protected $showemptysections = false; + protected $showemptysections = true; /** @var bool A switch for whether courses should be shown within categories on the navigation. */ protected $showcategories = null; /** @var array An array of stdClasses for users that the navigation is extended for */