From: Joey Hess Date: Sun, 3 Feb 2008 19:22:25 +0000 (-0500) Subject: prototype fix X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/42e5b8dfdc7f4268c3cc8a1eafd994790a79d821 prototype fix --- diff --git a/IkiWiki/Plugin/poll.pm b/IkiWiki/Plugin/poll.pm index a5727fc8e..41ebd74a0 100644 --- a/IkiWiki/Plugin/poll.pm +++ b/IkiWiki/Plugin/poll.pm @@ -74,7 +74,7 @@ sub preprocess (@) { #{{{ return "
$ret
"; } # }}} -sub sessioncgi ($) { #{{{ +sub sessioncgi ($$) { #{{{ my $cgi=shift; my $session=shift; if (defined $cgi->param('do') && $cgi->param('do') eq "poll") {