Permalink
Browse files

Merge branch 'MDL-60653-33' of git://github.com/rezaies/moodle into M…

…OODLE_33_STABLE
  • Loading branch information...
dmonllao committed Dec 18, 2017
2 parents 00f88c2 + 1ab9160 commit 9e3b6c626caab0c110966f4a6a984d3dab9f5302
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/navigationlib.php
@@ -432,7 +432,7 @@ public function find($key, $type) {
public function build_flat_navigation_list(flat_navigation $nodes, $showdivider = false) {
if ($this->showinflatnavigation) {
$indent = 0;
if ($this->type == self::TYPE_COURSE || $this->key == self::COURSE_INDEX_PAGE) {
if ($this->type == self::TYPE_COURSE || $this->key === self::COURSE_INDEX_PAGE) {
$indent = 1;
}
$flat = new flat_navigation_node($this, $indent);

0 comments on commit 9e3b6c6

Please sign in to comment.