Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
It had been working previously (dev version datestamp = "1316607632"), but the latest dev version (datestamp = "1358947581") seems to have broken this functionality.
Comment | File | Size | Author |
---|---|---|---|
#3 | plus1-fix_undo-1927056-3.patch | 1.16 KB | Volx |
Comments
Comment #1
Jody LynnConfirmed this issue. Rolling back to the stable release fixes it.
Comment #2
rogical CreditAttribution: rogical commentedOkay, set to major
Comment #3
Volx CreditAttribution: Volx commentedI am having the same issue and also the widget is rendered incorrectly when a vote has been casted by a logged-in user. Those issues happen to be caused by the same problem, that is the call to votingapi_select_votes($criteria) returning no votes, because there is a $criteria['vote_source'] basically set to NULL, probably because of the drupal_alter('plus1_source', $criteria['vote_source']) call above. Setting the $criteria['vote_source'] explicitly to the correct value fixes both issues.
Comment #4
eusonic CreditAttribution: eusonic commentedPatch #3 works for me.
Comment #4.0
eusonic CreditAttribution: eusonic commentedFixed typo
Comment #5
rogical CreditAttribution: rogical commentedcommitted.