Title says it all really, see patch.

Comments

grndlvl’s picture

Status: Needs review » Reviewed & tested by the community

Patch works.

AjK’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new1.39 KB

Missed actually checking the node is owned by the current user

agentrickard’s picture

Patch has issues (and DOS linebreaks).

patch -p0 < poll_1_248_patch02.txt 
(Stripping trailing CRs from patch.)
patching file modules/poll/poll.module
patch unexpectedly ends in middle of line
Hunk #2 succeeded at 182 with fuzz 1.

Does apply though.

Occurs to me that you also need an 'edit polls' permission, like other node types, for admins.

AjK’s picture

StatusFileSize
new1.53 KB

Add "edit polls" as per #4

catch’s picture

ronseal issue. RTBC.

catch’s picture

Status: Needs review » Reviewed & tested by the community
gábor hojtsy’s picture

Status: Reviewed & tested by the community » Needs work

Coding style issue in patch with function indentation.

AjK’s picture

Status: Needs work » Needs review
StatusFileSize
new1.43 KB

Doh

gábor hojtsy’s picture

Status: Needs review » Fixed

Thanks, committed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.