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.
Logged in as a regular authenticated user (not UID 1).
Create a poll
Presented with the option to have the poll "Active" or "Closed".
Selecting "Closed" and submitted results in a poll that is still "Active".
Editing the poll shows "Active" selected.
Comments
Comment #1
mstef CreditAttribution: mstef commentedOddly enough, if you then edit the already-created poll, and select "Closed" and submit, it actually closes. But not on the initial creation.
Comment #2
mstef CreditAttribution: mstef commentedLooks like on line 187, $admin is defined by numerous, logical criteria, which displays the Active/Closed option on the node form.
Then on line 429, it's forced to active = 1 if the user doesn't have admin polls perm.