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.
This patch includes a few fixes caused by recent changes to the Drupal api:
- Fixed a problem with the 'cancel your vote' form on the node page appearing as just
Array
due to recent changes withdrupal_get_form()
- Fixed a problem with the 'poll' page producing php errors because arguments to
theme_pager()
changed recently - this api change not documented in the 6.x to 7.x changes list btw. - Added a 'Your vote has been cancelled.' message when a user cancels their vote (minor usability improvement and used in forthcoming tests).
Cheers,
Stella
Comment | File | Size | Author |
---|---|---|---|
poll_api_fixes.patch | 2.21 KB | stella | |
Comments
Comment #1
stella CreditAttribution: stella commentedTests are in #474308: poll module - new simple tests
Comment #2
Dries CreditAttribution: Dries commentedCommitted this to CVS HEAD. Thanks stella.