Index: lams_central/src/java/org/lamsfoundation/lams/web/IndexAction.java =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/java/org/lamsfoundation/lams/web/IndexAction.java,v diff -u -r1.5 -r1.6 --- lams_central/src/java/org/lamsfoundation/lams/web/IndexAction.java 20 Jun 2006 05:23:18 -0000 1.5 +++ lams_central/src/java/org/lamsfoundation/lams/web/IndexAction.java 21 Jun 2006 02:41:00 -0000 1.6 @@ -159,8 +159,10 @@ lessonLinks.add(new IndexLinkBean("index.participate","javascript:openLearner("+lesson.getLessonId()+")")); } } - IndexLessonBean lessonBean = new IndexLessonBean(lesson.getLessonName(), lessonLinks); - lessonBeans.add(lessonBean); + if(lessonLinks.size()>0){ + IndexLessonBean lessonBean = new IndexLessonBean(lesson.getLessonName(), lessonLinks); + lessonBeans.add(lessonBean); + } } } Collections.sort(lessonBeans);