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.
In Version 7.x-2.0-rc3+6-dev
Answering form was still visible for users already submitted votes because submitted state was computed wrong.
Original line 845:
$submitted = user_is_logged_in() && in_array($user->uid, array_keys($uids));
Patched line:
$submitted = user_is_logged_in() && in_array($user->uid, array_values($uids));
Please test and include patched line in future releases.
Comments
Comment #1
SebCorbin CreditAttribution: SebCorbin commentedCommitted with tests, thanks :)