Skip to content

Commit

Permalink
NOBUG: Added missing set_context call
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hemelryk committed Oct 3, 2010
1 parent 7b5f1cd commit 304d124
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions message/discussion.php
Expand Up @@ -27,6 +27,7 @@
require('lib.php');

require_login();
$PAGE->set_context(get_system_context());

if (isguestuser()) {
redirect($CFG->wwwroot);
Expand Down

0 comments on commit 304d124

Please sign in to comment.