You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ag...@apache.org on 2006/07/29 01:12:42 UTC
svn commit: r426694 -
/incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/util/WeblogSearchRequest.java
Author: agilliland
Date: Fri Jul 28 16:12:41 2006
New Revision: 426694
URL: http://svn.apache.org/viewvc?rev=426694&view=rev
Log:
disregard cat param if it does not have a value.
Modified:
incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/util/WeblogSearchRequest.java
Modified: incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/util/WeblogSearchRequest.java
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/util/WeblogSearchRequest.java?rev=426694&r1=426693&r2=426694&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/util/WeblogSearchRequest.java (original)
+++ incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/util/WeblogSearchRequest.java Fri Jul 28 16:12:41 2006
@@ -93,7 +93,8 @@
}
}
- if(request.getParameter("cat") != null) {
+ if(request.getParameter("cat") != null &&
+ request.getParameter("cat").trim().length() > 0) {
this.weblogCategoryName = request.getParameter("cat");
// all categories must start with a /