MDL-69151 message_airnotifier: start output before accesskey request.

This allows debugging generated by the request to be shown on the
page.
This commit is contained in:
Paul Holden 2020-06-26 17:31:37 +01:00 committed by Andrew Nicols
parent 89ce4db476
commit f324c2d16c

View file

@ -59,6 +59,8 @@ if (strpos($CFG->airnotifierurl, message_airnotifier_manager::AIRNOTIFIER_PUBLIC
} }
} }
echo $OUTPUT->header();
$manager = new message_airnotifier_manager(); $manager = new message_airnotifier_manager();
$warnings = []; $warnings = [];
@ -107,6 +109,5 @@ foreach ($warnings as $warning) {
$msg .= $OUTPUT->continue_button($returl); $msg .= $OUTPUT->continue_button($returl);
echo $OUTPUT->header();
echo $OUTPUT->box($msg, 'generalbox '); echo $OUTPUT->box($msg, 'generalbox ');
echo $OUTPUT->footer(); echo $OUTPUT->footer();