Merge branch 'MDL-79232-402' of https://github.com/marinaglancy/moodle into MOODLE_402_STABLE
This commit is contained in:
@@ -3653,6 +3653,7 @@ class navbar extends navigation_node {
|
||||
} else if ($this->hasitems !== false) {
|
||||
return true;
|
||||
}
|
||||
$outcome = false;
|
||||
if (count($this->children) > 0 || count($this->prependchildren) > 0) {
|
||||
// There have been manually added items - there are definitely items.
|
||||
$outcome = true;
|
||||
|
||||
Reference in New Issue
Block a user