Fixed URL for closed polls in global poll_macro()

This commit is contained in:
Tobi Schäfer 2008-05-13 15:23:54 +00:00
parent e8c6ca163c
commit 33e1680969

View file

@ -386,7 +386,7 @@ function poll_macro(param, id, mode) {
break;
case "link":
html.link({
href: poll.href(poll.closed ? "results" : "")
href: poll.href(poll.status === Poll.CLOSED ? "result" : "")
}, poll.question);
break;
default: