Details
Description
Setting $THEME->makenavmenulist = true in a theme's config.php throws off a php notice:
Notice: Undefined property: object::$cm in \moodle\lib\weblib.php on line 5443
I've just noticed this with latest moodle 1.9 version because the theme I use (orangechoc) has this line in its config.php file:
$THEME->makenavmenulist = true;
I wonder what is the use of makenavmenulist anyway, as I notice that NONE of the themes in Moodle distribution has this enabled (it's set to FALSE for all of the themes!).
Either makenavmenulist is useful and used, and something should be done about that PHP error notice OR it's useless and should be deleted from moodle.
Joseph
BUMP...