MDL-32508 navigation: show empty sections

This commit is contained in:
Dan Poltawski 2012-04-30 11:46:15 +08:00
parent 243b7003e3
commit fe221dd583

View File

@ -934,7 +934,7 @@ class global_navigation extends navigation_node {
/** @var array An array for containing root navigation nodes */ /** @var array An array for containing root navigation nodes */
protected $rootnodes = array(); protected $rootnodes = array();
/** @var bool A switch for whether to show empty sections in the navigation */ /** @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. */ /** @var bool A switch for whether courses should be shown within categories on the navigation. */
protected $showcategories = null; protected $showcategories = null;
/** @var array An array of stdClasses for users that the navigation is extended for */ /** @var array An array of stdClasses for users that the navigation is extended for */