[sword-svn] r265 - trunk/webapp

scribe at www.crosswire.org scribe at www.crosswire.org
Tue Nov 14 11:29:23 MST 2006


Author: scribe
Date: 2006-11-14 11:29:22 -0700 (Tue, 14 Nov 2006)
New Revision: 265

Modified:
   trunk/webapp/bookdisplay.jsp
Log:
Added a check to be keep from infinite recursion if book not valid


Modified: trunk/webapp/bookdisplay.jsp
===================================================================
--- trunk/webapp/bookdisplay.jsp	2006-10-24 02:39:25 UTC (rev 264)
+++ trunk/webapp/bookdisplay.jsp	2006-11-14 18:29:22 UTC (rev 265)
@@ -227,7 +227,7 @@
 
 <%!
 private synchronized static void printTree(Vector bookTreeOpen, JspWriter out, SWModule module, String rootTreeKey, String target, String currentJumpNode) {
-
+	if ((module == null) || ("<SWNULL>".equals(module.getName()))) return;
 	try {
 		int max = 400;
 		module.setKeyText(rootTreeKey);




More information about the sword-cvs mailing list