mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
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:
parent
89ce4db476
commit
f324c2d16c
1 changed files with 2 additions and 1 deletions
|
@ -59,6 +59,8 @@ if (strpos($CFG->airnotifierurl, message_airnotifier_manager::AIRNOTIFIER_PUBLIC
|
|||
}
|
||||
}
|
||||
|
||||
echo $OUTPUT->header();
|
||||
|
||||
$manager = new message_airnotifier_manager();
|
||||
$warnings = [];
|
||||
|
||||
|
@ -107,6 +109,5 @@ foreach ($warnings as $warning) {
|
|||
|
||||
$msg .= $OUTPUT->continue_button($returl);
|
||||
|
||||
echo $OUTPUT->header();
|
||||
echo $OUTPUT->box($msg, 'generalbox ');
|
||||
echo $OUTPUT->footer();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue