[CMF-checkins] CVS: CMF - DiscussionItem.py:1.5

tseaver@digicool.com tseaver@digicool.com
Thu, 22 Mar 2001 21:12:26 -0500 (EST)


Update of /cvs-repository/CMF/CMFDefault
In directory korak:/tmp/cvs-serv30737

Modified Files:
	DiscussionItem.py 
Log Message:


* Fix 'Creator' metadata for DiscussionItems (tracker issue #206,
  thanks to Jeff Sasmor for the patch!)



--- Updated File DiscussionItem.py in package CMF --
--- DiscussionItem.py	2001/02/28 21:25:25	1.4
+++ DiscussionItem.py	2001/03/23 02:11:55	1.5
@@ -285,6 +285,10 @@
         item.description = title
         item.text_format = 'structured-text'
         item.text = text
+
+        if REQUEST.has_key( 'Creator' ):
+            item.Creator = REQUEST[ 'Creator' ]
+
         item.__of__(self).setReplyTo(self.aq_parent)
  
         item._parse()