fixed typo throwing warnings during install; merged from MOODLE_19_STABLE

This commit is contained in:
skodak
2007-11-17 20:55:44 +00:00
parent 3541cecb66
commit 64f592adf3
+1 -1
View 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;