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


quicksketch’s picture

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.

quicksketch’s picture

Status: Reviewed & tested by the community » Fixed


quicksketch’s picture

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.