From: skodak Date: Sat, 17 Nov 2007 20:55:44 +0000 (+0000) Subject: fixed typo throwing warnings during install; merged from MOODLE_19_STABLE X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=64f592adf3b8a7fa80810e50d4b62ad84adbe5c5;p=moodle.git fixed typo throwing warnings during install; merged from MOODLE_19_STABLE --- diff --git a/lib/weblib.php b/lib/weblib.php index 9fb33c5dea..397e63743e 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -3517,7 +3517,7 @@ function build_navigation($extranavlinks, $cm = null) { // install & upgrade for example -- where we cannot count on the // roles infrastructure to be defined. Hence the $CFG->rolesactive check. if (!isset($CFG->hideactivitytypenavlink)) { - $CFG->hideactivitytypenavlink == 0; + $CFG->hideactivitytypenavlink = 0; } if ($CFG->hideactivitytypenavlink == 2) { $hideactivitylink = true;