|
15 | 15 | # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
16 | 16 | # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
17 | 17 | # |
18 | | -# $Id: cgi_client.py,v 1.23 2001-08-29 04:47:18 richard Exp $ |
| 18 | +# $Id: cgi_client.py,v 1.24 2001-08-29 04:49:39 richard Exp $ |
19 | 19 |
|
20 | 20 | import os, cgi, pprint, StringIO, urlparse, re, traceback, mimetypes |
21 | 21 |
|
@@ -328,7 +328,7 @@ def _post_editnode(self, nid, changes=None): |
328 | 328 |
|
329 | 329 | # now create the message |
330 | 330 | content = '\n'.join(m) |
331 | | - message_id = self.db.msg.create(author='admin', #self.getuid(), |
| 331 | + message_id = self.db.msg.create(author=self.getuid(), |
332 | 332 | recipients=[], date=date.Date('.'), summary=summary, |
333 | 333 | content=content) |
334 | 334 | messages = cl.get(nid, 'messages') |
@@ -513,6 +513,10 @@ def parsePropsFromForm(cl, form, nodeid=0): |
513 | 513 |
|
514 | 514 | # |
515 | 515 | # $Log: not supported by cvs2svn $ |
| 516 | +# Revision 1.23 2001/08/29 04:47:18 richard |
| 517 | +# Fixed CGI client change messages so they actually include the properties |
| 518 | +# changed (again). |
| 519 | +# |
516 | 520 | # Revision 1.22 2001/08/17 00:08:10 richard |
517 | 521 | # reverted back to sending messages always regardless of who is doing the web |
518 | 522 | # edit. change notes weren't being saved. bleah. hackish. |
|
0 commit comments