bug/error-on-empty-choices
This commit is contained in:
parent
53572dbc1f
commit
a80602e3d5
@ -206,7 +206,7 @@
|
||||
</li>
|
||||
<li class="hide">
|
||||
<input type="radio" id="n-choice-{$id}" name="choices[{$id}]" value=" "
|
||||
{(isset($selectedNewVotes[$id]) || ("" !== $selectedNewVotes[$id])) ? "" : " checked"}
|
||||
{(isset($selectedNewVotes[$id]) && ("" !== $selectedNewVotes[$id])) ? "" : " checked"}
|
||||
/>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -269,7 +269,7 @@
|
||||
</li>
|
||||
<li class="hide">
|
||||
<input type="radio" id="n-choice-{$i}" name="choices[{$i}]" value=" "
|
||||
{(isset($selectedNewVotes[$i]) || ("" !== $selectedNewVotes[$i])) ? "" : " checked"}
|
||||
{(isset($selectedNewVotes[$i]) && ("" !== $selectedNewVotes[$i])) ? "" : " checked"}
|
||||
/>
|
||||
</li>
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user