Merged fix for MDL-9052 from 1.8

This commit is contained in:
moodler
2007-03-27 05:15:46 +00:00
parent fa2d60c5c2
commit e1526d7792
+3
View File
@@ -53,6 +53,9 @@
}
$strforums = get_string('modulenameplural', 'forum');
if (!get_referer()) { // No referer - probably coming in via email See MDL-9052
require_login();
}
if ($course->id != SITEID) {
print_header($course->shortname, $course->fullname,
"<a href=\"../../course/view.php?id=$course->id\">$course->shortname</a> ->