[CMF-checkins] CVS: CMF/CMFWiki - CMFWikiPage.py:1.21

Ken Manheimer klm@zope.com
Tue, 5 Feb 2002 16:06:54 -0500


Update of /cvs-repository/CMF/CMFWiki
In directory cvs.zope.org:/tmp/cvs-serv24827

Modified Files:
	CMFWikiPage.py 
Log Message:
.setRegulations(): Fix regulation propagation - the check was case
sensitive to the wrong case.


=== CMF/CMFWiki/CMFWikiPage.py 1.20 => 1.21 ===
             self.setOp(op, usernames, category)
             # Propagate to subpages if desired
-            if d.get('propagate-' + op, None) == "ON":
+            if lower(d.get('propagate-' + op, None)) == "on":
                 if offspring is None:
                     page_meta_type = self.meta_type
                     nesting = WikiNesting(self._my_folder(), page_meta_type)