From 64f592adf3b8a7fa80810e50d4b62ad84adbe5c5 Mon Sep 17 00:00:00 2001 From: skodak Date: Sat, 17 Nov 2007 20:55:44 +0000 Subject: [PATCH] fixed typo throwing warnings during install; merged from MOODLE_19_STABLE --- lib/weblib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5