Added to avoid one notice when no news exist !!

This commit is contained in:
stronk7
2003-09-30 12:25:11 +00:00
parent d9170c87c1
commit 866d33df9b
+1 -1
View File
@@ -286,7 +286,7 @@
}
if ($news or $course->showrecent) {
if (!empty($news) or $course->showrecent) {
echo "</td><td width=210>";
/// Print all the news items.