NOBUG: Added missing set_context call
authorSam Hemelryk <sam@moodle.com>
Sun, 3 Oct 2010 12:15:45 +0000 (12:15 +0000)
committerSam Hemelryk <sam@moodle.com>
Sun, 3 Oct 2010 12:15:45 +0000 (12:15 +0000)
message/discussion.php

index 224501f..58ef5da 100644 (file)
@@ -27,6 +27,7 @@
     require('lib.php');
 
     require_login();
+    $PAGE->set_context(get_system_context());
 
     if (isguestuser()) {
         redirect($CFG->wwwroot);