[CMF-checkins] CVS: CMF/CMFWiki - CMFWikiPage.py:1.29
Chris McDonough
chrism@zope.com
Tue, 5 Nov 2002 12:25:42 -0500
Update of /cvs-repository/CMF/CMFWiki
In directory cvs.zope.org:/tmp/cvs-serv8196
Modified Files:
CMFWikiPage.py
Log Message:
Fix brought about by an email from Joel Burton (thanks Joel) for an inappropriate use of the "user" variable.
=== CMF/CMFWiki/CMFWikiPage.py 1.28 => 1.29 ===
--- CMF/CMFWiki/CMFWikiPage.py:1.28 Thu Oct 17 15:38:37 2002
+++ CMF/CMFWiki/CMFWikiPage.py Tue Nov 5 12:25:42 2002
@@ -722,7 +722,7 @@
ob._set_text(text)
if log:
get_transaction().note(log)
- if user.getUserName() == 'Anonymous User':
+ if getSecurityManager().getUser().getUserName() == 'Anonymous User':
username = ''
ob.last_editor = userid
ob.indexObject()