MDL-62418 tool_policy: Display blocks in user policies and agreements
[moodle.git] / admin / tool / policy / user.php
index 889934c..56b5acb 100644 (file)
@@ -42,6 +42,7 @@ if ($userid != $USER->id) {
 }
 
 $PAGE->set_context($context);
+$PAGE->set_pagelayout('standard');
 $PAGE->set_url(new moodle_url('/admin/tool/policy/user.php', ['userid' => $userid]));
 
 $output = $PAGE->get_renderer('tool_policy');