Skip to content

Commit

Permalink
error MDLSITE-1008 Fixed missing set_context call in error/index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hemelryk committed Oct 4, 2010
1 parent 18e6325 commit b276cf9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions error/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
$PAGE->set_url('/error/');
$PAGE->set_title($site->fullname .':Error');
$PAGE->set_heading($site->fullname .': Error 404');
$PAGE->set_context(get_system_context());
$PAGE->navbar->add('Error 404 - File not Found');
echo $OUTPUT->header();
echo $OUTPUT->box(get_string('pagenotexist', 'error'). '<br />'.s($requesturi), 'generalbox boxaligncenter');
Expand Down

0 comments on commit b276cf9

Please sign in to comment.