Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Here's the patch.
When your own module implements the MODULE_fivestar_access hook
this call isn't performed in a node view.
Comment | File | Size | Author |
---|---|---|---|
#3 | fivestar_validate_node.patch | 1.98 KB | quicksketch |
check_permissions_on_view.patch | 632 bytes | savioret | |
Comments
Comment #1
quicksketchLooks 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.
Comment #2
quicksketchCommitted.
Comment #3
quicksketchFollowup patch, the call to fivestar_validate_target() was incorrect, since the "type" in this case should be "node", not $node->type.