mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 20:50:21 +01:00
community MDL-19314 do not display download message if no download message
This commit is contained in:
parent
8cb89f5bd5
commit
0dcf112b67
@ -86,7 +86,9 @@ if (!empty($fromform)) {
|
||||
// OUTPUT
|
||||
echo $OUTPUT->header();
|
||||
echo $OUTPUT->heading(get_string('addcommunitycourse', 'block_community'), 3, 'main');
|
||||
echo $downloadmessage;
|
||||
if (!empty($downloadmessage)) {
|
||||
echo $downloadmessage;
|
||||
}
|
||||
$hubselectorform->display();
|
||||
echo $renderer->course_list($courses, $huburl);
|
||||
echo $OUTPUT->footer();
|
Loading…
x
Reference in New Issue
Block a user