mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
navigation MDL-14632 Wrapping if in brackets just to be safe
This commit is contained in:
parent
766ccfbd25
commit
c73e37e0ef
@ -250,7 +250,7 @@ class navigation_node {
|
||||
}
|
||||
$itemarray['key'] = $key;
|
||||
$this->children[$key] = new navigation_node($itemarray);
|
||||
if ($type==self::TYPE_CATEGORY || (isloggedin() && $type==self::TYPE_COURSE)) {
|
||||
if (($type==self::TYPE_CATEGORY) || (isloggedin() && $type==self::TYPE_COURSE)) {
|
||||
$this->children[$key]->nodetype = self::NODETYPE_BRANCH;
|
||||
}
|
||||
if ($this->hidden) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user