]> git.mjollnir.org Git - moodle.git/commitdiff
fixed typo throwing warnings during install; merged from MOODLE_19_STABLE
authorskodak <skodak>
Sat, 17 Nov 2007 20:55:44 +0000 (20:55 +0000)
committerskodak <skodak>
Sat, 17 Nov 2007 20:55:44 +0000 (20:55 +0000)
lib/weblib.php

index 9fb33c5dea317eb5420038b5f54fe5ef7a8296b0..397e63743e11f1d247850b17749665bdca563dbb 100644 (file)
@@ -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;