user MDL-19786 set pagelayout so that blocks are shown again

This commit is contained in:
Sam Hemelryk 2010-01-18 05:00:17 +00:00
parent e15887b092
commit ad1e8f13b6

View file

@ -161,6 +161,7 @@ if (!$currentuser) {
$PAGE->navigation->extend_for_user($user);
$PAGE->set_title("$course->fullname: $strpersonalprofile: $fullname");
$PAGE->set_heading($course->fullname);
$PAGE->set_pagelayout('standard');
echo $OUTPUT->header();
if (($course->id != SITEID) and ! has_capability('moodle/legacy:guest', $systemcontext, 0, false) ) { // Need to have access to a course to see that info