DOn't print blank summaries

This commit is contained in:
moodler 2004-02-13 03:42:51 +00:00
parent fe412041b5
commit 54caa35e20

View File

@ -309,7 +309,7 @@
echo "</p></center>";
}
if ($resource->summary) {
if (trim($resource->summary)) {
print_simple_box(format_text($resource->summary), 'center');
}