roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r395634 - /incubator/roller/trunk/src/org/roller/pojos/WebsiteData.java
Date Thu, 20 Apr 2006 16:26:52 GMT
Author: agilliland
Date: Thu Apr 20 09:26:49 2006
New Revision: 395634

URL: http://svn.apache.org/viewcvs?rev=395634&view=rev
Log:
fixing problem in getCommentModerationRequired().


Modified:
    incubator/roller/trunk/src/org/roller/pojos/WebsiteData.java

Modified: incubator/roller/trunk/src/org/roller/pojos/WebsiteData.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/pojos/WebsiteData.java?rev=395634&r1=395633&r2=395634&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/pojos/WebsiteData.java (original)
+++ incubator/roller/trunk/src/org/roller/pojos/WebsiteData.java Thu Apr 20 09:26:49 2006
@@ -961,8 +961,8 @@
      * Returns true if comment moderation is required by website or config.
      */ 
     public boolean getCommentModerationRequired() { 
-        return getModerateComments() 
-         || RollerRuntimeConfig.getBooleanProperty("users.moderation.required");
+        return (getModerateComments().booleanValue()
+         || RollerRuntimeConfig.getBooleanProperty("users.moderation.required"));
     }
     
     /** No-op */



Mime
View raw message