]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/recentchanges.pm
Add modified opengraph plugin.
[git.ikiwiki.info.git] / IkiWiki / Plugin / recentchanges.pm
index eec9803be1397dc0a473b5c4287a0b8cdfa25ac7..2b2f43b7ae19fa89a2facf4ba02aca4b66ed671a 100644 (file)
@@ -102,7 +102,7 @@ sub sessioncgi ($$) {
        IkiWiki::decode_form_utf8($form);
 
        if ($form->submitted eq 'Revert' && $form->validate) {
-               IkiWiki::checksessionexpiry($q, $session, $q->param('sid'));
+               IkiWiki::checksessionexpiry($q, $session);
                my $message=sprintf(gettext("This reverts commit %s"), $rev);
                if (defined $form->field('revertmessage') &&
                    length $form->field('revertmessage')) {