changeset 3364:e58d480044c2

action.diff: fixed to the right rev no
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Thu, 20 Mar 2008 20:13:22 +0100
parents 8fca4e0c0de5
children e64bb042f178
files MoinMoin/action/diff.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/diff.py	Thu Mar 20 18:43:36 2008 +0100
+++ b/MoinMoin/action/diff.py	Thu Mar 20 20:13:22 2008 +0100
@@ -159,7 +159,7 @@
 </table>
 """ % (page_url, oldrev - 1, oldrev, _("Previous change"), disable_prev,
        title,
-       page_url, oldrev, _("Revert to this revision"), u'',
+       page_url, rev2, _("Revert to this revision"), u'',
        page_url, newrev, newrev + 1, _("Next change"), disable_next, )
 
     request.write(f.rawHTML(navigation_html))