[CMF-checkins] CVS: CMF/CMFDefault - DiscussionItem.py:1.40

Yvo Schubbe y.2004_ at wcm-solutions.de
Tue Jan 20 15:12:09 EST 2004


Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv17206/CMFDefault

Modified Files:
	DiscussionItem.py 
Log Message:
fixed Discussion bug:
- always call addCreator


=== CMF/CMFDefault/DiscussionItem.py 1.39 => 1.40 ===
--- CMF/CMFDefault/DiscussionItem.py:1.39	Thu Jan  1 07:08:06 2004
+++ CMF/CMFDefault/DiscussionItem.py	Tue Jan 20 15:11:38 2004
@@ -298,11 +298,8 @@
 
         item = DiscussionItem( id, title=title, description=title )
         item._edit( text_format=text_format, text=text )
-
-        if Creator:
-            item.__of__(self).addCreator(Creator)
-
-        item.__of__( self ).indexObject()
+        item.__of__(self).addCreator(Creator)
+        item.__of__(self).indexObject()
 
         item.setReplyTo( self._getDiscussable() )
 




More information about the CMF-checkins mailing list