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.
When using votingapi_set_votes, the update/inserted vote object need to be returned so that affected vote_ids are available to the calling module. This change is already in place in votingapi_add_votes(), it just needs to be replicated in the set votes function also.
This patch just make the $votes parameter passed by reference (like votingapi_add_votes).
Comment | File | Size | Author |
---|---|---|---|
votingapi2_vote_id.patch | 718 bytes | quicksketch | |
Comments
Comment #1
eaton CreditAttribution: eaton commentedFixed in the latest betas. Thanks!
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.