]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/editpage.pm
Avoid uninitialized warnings with comments+no CGI.
[git.ikiwiki.info.git] / IkiWiki / Plugin / editpage.pm
index 3047869c4a0ad4da75f715937b8fff185dc80970..78d0704c7fd3b699acbb65df391e475b29fae52b 100644 (file)
@@ -342,7 +342,7 @@ sub cgi_editpage ($$) {
        else {
                # save page
                check_canedit($page, $q, $session);
-               checksessionexpiry($q, $session, $q->param('sid'));
+               checksessionexpiry($q, $session);
 
                my $exists=-e "$config{srcdir}/$file";