From 296e5cb2fd3690e998b3824d54d317933c595873 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 23 Nov 2010 00:12:17 +0000 Subject: Use local paths for the CGI URL --- IkiWiki/Plugin/poll.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki/Plugin/poll.pm') diff --git a/IkiWiki/Plugin/poll.pm b/IkiWiki/Plugin/poll.pm index 988f4c113..27df104ab 100644 --- a/IkiWiki/Plugin/poll.pm +++ b/IkiWiki/Plugin/poll.pm @@ -52,7 +52,7 @@ sub preprocess (@) { foreach my $choice (@choices) { if ($open && exists $config{cgiurl}) { # use POST to avoid robots - $ret.="
\n"; + $ret.="\n"; } my $percent=$total > 0 ? int($choices{$choice} / $total * 100) : 0; $ret.="

\n"; -- cgit v1.2.3