mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
Don't print blank journal intros
This commit is contained in:
parent
51a55508e6
commit
fe412041b5
@ -45,7 +45,9 @@
|
||||
|
||||
echo "<center>\n";
|
||||
|
||||
print_simple_box( format_text($journal->intro, $journal->introformat) , "center");
|
||||
if (!empty(trim($journal->intro))) {
|
||||
print_simple_box( format_text($journal->intro, $journal->introformat) , "center");
|
||||
}
|
||||
|
||||
echo "<br />";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user