mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
DOn't print blank summaries
This commit is contained in:
parent
fe412041b5
commit
54caa35e20
@ -309,7 +309,7 @@
|
||||
echo "</p></center>";
|
||||
}
|
||||
|
||||
if ($resource->summary) {
|
||||
if (trim($resource->summary)) {
|
||||
print_simple_box(format_text($resource->summary), 'center');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user