Correction : check_canedit() .
[ikiwiki/poll.git] / poll.pm
diff --git a/poll.pm b/poll.pm
index b79fd0e..f5bb0d1 100644 (file)
--- a/poll.pm
+++ b/poll.pm
@@ -187,6 +187,7 @@ sub sessioncgi ($$) {
                        use Data::Dumper;
                        error("bad page name");
                 }
+               &IkiWiki::check_canedit($page, $cgi, $session);
                
                # Did they vote before? If so, let them change their vote,
                # and check for dups.