From d139cab645d18db9577e982cc07274294582a0a2 Mon Sep 17 00:00:00 2001 From: Julien Moutinho Date: Mon, 21 Apr 2014 17:09:48 +0200 Subject: [PATCH] =?utf8?q?Correction=20:=20n=E2=80=99impose=20pas=20de=20/?= =?utf8?q?=20avant=20$config{userdir}=20.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- poll.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poll.pm b/poll.pm index 411f3bd..f9fc878 100644 --- a/poll.pm +++ b/poll.pm @@ -124,7 +124,7 @@ sub preprocess (@) { if (@{$choices{$choice}{users}} > 0) { $votes .= " : ".join(', ', map { my $userpage = linkpage(($config{userdir}?$config{userdir}.'/':'').$_); - htmllink($params{page}, $params{destpage}, '/'.$userpage, linktext => pagetitle($_)) + htmllink($params{page}, $params{destpage}, $userpage, linktext => pagetitle($_)) } @{$choices{$choice}{users}}); $votes .= " + ".$choices{$choice}{unknown_votes}." " . ($choices{$choice}{unknown_votes} > 1 ? gettext("unknowns") : gettext("unknown")) -- 2.20.1