Closed (won't fix)
Project:
Advanced Poll
Version:
5.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
10 Jul 2007 at 18:46 UTC
Updated:
3 Feb 2013 at 20:09 UTC
Fixed with this line:
1075c1072
< if ($node->voted && $node->cancel_vote && user_access('cancel own vote') && $node->active) {
---
> if ($node->voted && $node->cancel_vote && user_access('cancel own vote')) {
Comments
Comment #1
anders.fajerson commentedThanks for the report and patch. Commited at http://drupal.org/cvs?commit=73713.
When committed I realized that this might be better moved into _advpoll_user_voted, i.e instead be checked by
$node->cancel_vote. Let's get a second opinion on this when Chris is back.Comment #2
ChrisKennedy commentedHmm tough call. It's probably a little bit better to put it in _advpoll_user_voted to keep the checks centralized.
Comment #3
pomliane commentedThis version of Advanced Poll is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.
This issue has been automagically closed by a script.