You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2006/01/09 05:16:13 UTC

svn commit: r367187 - /incubator/roller/trunk/src/org/roller/presentation/website/formbeans/WebsiteFormEx.java

Author: snoopdave
Date: Sun Jan  8 20:16:10 2006
New Revision: 367187

URL: http://svn.apache.org/viewcvs?rev=367187&view=rev
Log:
Fixed a couple checkbox false = null problems

Modified:
    incubator/roller/trunk/src/org/roller/presentation/website/formbeans/WebsiteFormEx.java

Modified: incubator/roller/trunk/src/org/roller/presentation/website/formbeans/WebsiteFormEx.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/presentation/website/formbeans/WebsiteFormEx.java?rev=367187&r1=367186&r2=367187&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/presentation/website/formbeans/WebsiteFormEx.java (original)
+++ incubator/roller/trunk/src/org/roller/presentation/website/formbeans/WebsiteFormEx.java Sun Jan  8 20:16:10 2006
@@ -151,6 +151,14 @@
         {
             dataHolder.setEnableBloggerApi(Boolean.FALSE);
         }
+        if (getDefaultAllowComments() == null)
+        {
+            dataHolder.setDefaultAllowComments(Boolean.FALSE);
+        }
+        if (getModerateComments() == null)
+        {
+            dataHolder.setModerateComments(Boolean.FALSE);
+        }
         
         WeblogManager wmgr = RollerFactory.getRoller().getWeblogManager();
         if (getDefaultCategoryId() != null)