MDL-32508 navigation: show empty sections

This commit is contained in:
Dan Poltawski
2012-05-04 10:53:03 +08:00
parent 243b7003e3
commit fe221dd583
+1 -1
View File
@@ -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 */