Wedge
Public area => Bug reports => The Pub => Archived fixes => Topic started by: Arantor on March 31st, 2012, 03:35 AM
-
When you have a poll, that you haven't yourself voted in but that you have permission (either because you're the poll starter or because you gave permission) to view the results, you get a 'View Results' button next to the Edit/Remove/Lock Voting buttons.
So far so good, but if you hit that button, you get the results, a Voting Options button to take you back - and you get another 'View Results' option, even though that's where you already are.
As far as I remember this is also a bug in SMF, too.
-
As far as I remember this is also a bug in SMF, too.
And still hasn't been fixed?
-
Oh, there are many bugs in 2.0 that have been around for ages. For all I know this one might even be in 1.1.
-
Thanks! That was an easy fix... :lol:
Just needed to move a !$context['poll']['show_results'] to the beginning of the statement.