[sword-cvs] swordweb bookdisplay.jsp,1.5,1.6 cvstest,1.3,1.4

sword@www.crosswire.org sword@www.crosswire.org
Tue, 28 Oct 2003 02:06:12 -0700


Update of /usr/local/cvsroot/swordweb
In directory www:/tmp/cvs-serv11980

Modified Files:
	bookdisplay.jsp cvstest 
Log Message:


Index: bookdisplay.jsp
===================================================================
RCS file: /usr/local/cvsroot/swordweb/bookdisplay.jsp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- bookdisplay.jsp	24 Oct 2003 08:05:44 -0000	1.5
+++ bookdisplay.jsp	28 Oct 2003 09:06:10 -0000	1.6
@@ -10,7 +10,7 @@
 	if (gbsBook != null)
 		session.setAttribute("gbsBook", gbsBook);
 	gbsBook = (String)session.getAttribute("gbsBook");
-	SWModule module = mgr.getModuleByName(gbsBook);
+	SWModule module = (gbsBook == null) ? null : mgr.getModuleByName(gbsBook);
 
 	String gbsEntry = (String)request.getParameter("gbsEntry");
 	if (gbsEntry != null)

Index: cvstest
===================================================================
RCS file: /usr/local/cvsroot/swordweb/cvstest,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- cvstest	27 Oct 2003 23:02:42 -0000	1.3
+++ cvstest	28 Oct 2003 09:06:10 -0000	1.4
@@ -2,4 +2,4 @@
 This is a test
 to experiment with
 how cvs works
-and a new line here
+sand a new line here