CVS: tmda-cgi ChangeLog,1.35,1.36 View.py,1.19,1.20

Gre7g Luterman <[email protected]>
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Update of /cvsroot/tmda/tmda-cgi
In directory sc8-pr-cvs1:/tmp/cvs-serv15069

Modified Files:
	ChangeLog View.py 
Log Message:
Fixed a bug in the e-mail viewer which could cause the wrong item to be
handled.


Index: ChangeLog
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/ChangeLog,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- ChangeLog	23 May 2003 22:42:10 -0000	1.35
+++ ChangeLog	24 May 2003 14:47:09 -0000	1.36
@@ -1,3 +1,8 @@
+2003-05-24  Gre7g Luterman  <[email protected]>
+
+	* Fixed a bug in the e-mail viewer which could cause the wrong item
+	  to be handled.
+
 2003-05-23  Gre7g Luterman  <[email protected]>
 
 	* Made %(UrlDomain)s, %(ShortUrlDom)s, and %(VirtUser)d available

Index: View.py
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/View.py,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- View.py	13 May 2003 16:12:36 -0000	1.19
+++ View.py	24 May 2003 14:47:09 -0000	1.20
@@ -91,7 +91,6 @@
 
   # Get e-mail template
   T = Template.Template("view.html")
-  T["MsgID"]      = PVars["MsgID"]
   T["EmailClass"] = PVars[("ViewPending", "EmailClass")]
 
   # Locate messages in pending dir
@@ -162,6 +161,7 @@
     PVars.Save()
 
   # Get message ID
+  T["MsgID"]     = Msgs[MsgIdx]
   PVars["MsgID"] = Msgs[MsgIdx]
 
   # Grey out the first & prev buttons?

_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.