- Fixed bug (printing-friendly version of an empty glossary)

This commit is contained in:
willcast
2003-11-05 15:27:37 +00:00
parent 2abc70b558
commit c4c2f1886d
+4
View File
@@ -120,6 +120,10 @@
echo '<p><STRONG>' . get_string("course") . ': <i>' . $course->fullname . '</i><br />';
echo get_string("modulename","glossary") . ': <i>' . $glossary->name . '</i></STRONG></p>';
if ( !$entries ) {
echo get_string("noentries","glossary");
exit;
}
$groupheader = '';
$tableisopen = 0;
foreach ($entries as $entry) {