Here's the patch.
When your own module implements the MODULE_fivestar_access hook
this call isn't performed in a node view.


Status:Patch (to be ported)» Reviewed & tested by the community

Looks correct to me, this bug has been fixed in the 2.x version (HEAD) already, but needs to be applied to the 1.x branches.

Status:Reviewed & tested by the community» Fixed


new1.98 KB

Followup patch, the call to fivestar_validate_target() was incorrect, since the "type" in this case should be "node", not $node->type.

Status:Fixed» Closed (fixed)

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