Fixed  Missing Poll Title Creates Missing Poll

ManagerJosh

Well-known member
I forgot to add a poll question when creating a poll earlier and as a result, my poll did not appear

Reproduction:

  1. Create a new thread
  2. fill out THREAD title
  3. fill out threat content
  4. DO NOT FILL ANYTHING IN QUESTION PORTION OF 'POST A POLL'
  5. add responses (as many as you'd like)
  6. select allow selection of multiple responses.
  7. click 'Create Thread'
 
Verified, then even when you go to edit the thread you can't see the poll options(if that's how its even meant to be)
 
The code was keying on the question as the primary field. If you didn't enter that, everything else was ignored. I've changed it so that if you enter no question but enter a response, it will error.
 
Top Bottom