[Zope3-checkins] CVS: Products3/zwiki/browser - wikipage.py:1.9

Stephan Richter srichter@cosmos.phy.tufts.edu
Tue, 8 Jul 2003 22:42:20 -0400


Update of /cvs-repository/Products3/zwiki/browser
In directory cvs.zope.org:/tmp/cvs-serv12434/src/zopeproducts/zwiki/browser

Modified Files:
	wikipage.py 
Log Message:
Anonymous users do not have a login. Use title instead; it is much nicer 
anyways.


=== Products3/zwiki/browser/wikipage.py 1.8 => 1.9 ===
--- Products3/zwiki/browser/wikipage.py:1.8	Mon Jun 23 17:46:50 2003
+++ Products3/zwiki/browser/wikipage.py	Tue Jul  8 22:42:15 2003
@@ -321,7 +321,7 @@
         comment = source.createComment(
             comment,
             self.context.getCommentCounter(),
-            self.request.user.getLogin(),
+            self.request.user.getTitle(),
             datetime.now().strftime('%m/%d/%Y %H:%M:%S'))
         self.context.comment(comment)
         return self.request.response.redirect('.')