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.
Right after submitting a vote, results are always displayed, even if advpoll_results is set to other than aftervote (actually I tested it with afterclose). After reloading the page it behaves normally, though.
Possible solution: if I refresh poll data before calling advpoll_display_results()
in advpoll_form_submit()
then it shows the expected behavior (see the attached patch).
Comment | File | Size | Author |
---|---|---|---|
fix-results-are-always-visible.patch | 440 bytes | ecsedi | |
Comments