Upgrade 2.3.3 to 2.4 - course list is blank for some users

Re: Upgrade 2.3.3 to 2.4 - course list is blank for some users

by Susan Mangan -
Number of replies: 0

Thanks for your message Thomas, I didn't end up using the js.  I did fix it though.

What I ended up doing, in case it helps anyone else here, is to replace this line in lib/navigationlib.php:

$this->rootnodes['mycourses'] = $this->add(get_string('mycourses'), new moodle_url('/my/'), self::TYPE_ROOTNODE, null, 'mycourses');

with this:

$this->rootnodes['mycourses'] = $this->add(get_string('mycourses'), null, self::TYPE_ROOTNODE, null, 'mycourses');