If a poll is marked to open in the future, the advpoll_closed message will only show if 'show results' is set to 'never'.
In my use case, which I imagine is pretty common, I would like the poll to show the "This poll will open on [date]" before the poll opens, followed by results after the poll closes.
in advpoll_display_results, no distinction is made between a poll being not yet open and a poll being finished. A variable called $expired is set to true in either of these cases.
This should be separated into 2 variables so each state can be handled differently.
Comments
Comment #1
tripper54 commentedPatch attached.
Comment #3
tripper54 commentedcommitted!