Posted by birwel on June 2, 2009 at 8:00pm
| Project: | Fivestar |
| Version: | 6.x-1.15 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Here's the patch.
When your own module implements the MODULE_fivestar_access hook
this call isn't performed in a node view.
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| check_permissions_on_view.patch | 632 bytes | Ignored: Check issue status. | None | None |
Comments
#1
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.
#2
Committed.
#3
Followup patch, the call to fivestar_validate_target() was incorrect, since the "type" in this case should be "node", not $node->type.
#4
Automatically closed -- issue fixed for 2 weeks with no activity.