changeset 3202:4985657ad30a

diff action: fix double http header emission error
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 06 Mar 2008 15:26:51 +0100
parents e26c52c2ef0b
children 136ffd0554b9
files MoinMoin/action/diff.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/diff.py	Thu Mar 06 02:44:14 2008 +0100
+++ b/MoinMoin/action/diff.py	Thu Mar 06 15:26:51 2008 +0100
@@ -53,6 +53,7 @@
     if currentrev < 2:
         request.theme.add_msg(_("No older revisions available!"), "error")
         currentpage.send_page()
+        return
 
     if date: # this is how we get called from RecentChanges
         rev1 = 0