diff --git a/mod/resource/view.php b/mod/resource/view.php index c75777b7312..3a45bb6832f 100644 --- a/mod/resource/view.php +++ b/mod/resource/view.php @@ -309,7 +309,7 @@ echo "

"; } - if ($resource->summary) { + if (trim($resource->summary)) { print_simple_box(format_text($resource->summary), 'center'); }