]> git.mjollnir.org Git - moodle.git/commitdiff
DOn't print blank summaries
authormoodler <moodler>
Fri, 13 Feb 2004 03:42:51 +0000 (03:42 +0000)
committermoodler <moodler>
Fri, 13 Feb 2004 03:42:51 +0000 (03:42 +0000)
mod/resource/view.php

index c75777b7312ec02ce7646b5937f813e906f0f805..3a45bb6832fe5928d05c706b9355b4dae618c0d4 100644 (file)
                     echo "</p></center>";
                 }
 
-                if ($resource->summary) {
+                if (trim($resource->summary)) {
                     print_simple_box(format_text($resource->summary), 'center');
                 }