fixed a bug which prevented page navigation past the 2nd page of a list of articles
authorzapata <zapata>
Sun, 2 Mar 2003 04:36:31 +0000 (04:36 +0000)
committerzapata <zapata>
Sun, 2 Mar 2003 04:36:31 +0000 (04:36 +0000)
source/mircoders/servlet/ServletModuleContent.java

index cc317f8..0706c55 100755 (executable)
@@ -72,7 +72,7 @@ import freemarker.template.SimpleHash;
  *  ServletModuleContent -\r
  *  deliver html for the article admin form.\r
  *\r
- * @version $Id: ServletModuleContent.java,v 1.35 2003/02/28 18:27:08 idfx Exp $\r
+ * @version $Id: ServletModuleContent.java,v 1.36 2003/03/02 04:36:31 zapata Exp $\r
  * @author rk, mir-coders\r
  *\r
  */\r
@@ -451,7 +451,7 @@ public class ServletModuleContent extends ServletModule
       responseData.put("thisurl" , urlBuilder.getQuery());\r
 \r
       if (count>=anOffset+nrArticlesPerPage) {\r
-        urlBuilder.setValue("offset", anOffset + nrArticlesPerPage);\r
+        urlBuilder.setValue("offset", (anOffset + nrArticlesPerPage));\r
         responseData.put("nexturl" , urlBuilder.getQuery());\r
       }\r
 \r