Merge branch '1.1.3-bugfix' into 'master'

1.1.3 bugfix

See merge request framasoft/framadate!299
This commit is contained in:
Thomas Citharel 2018-04-15 11:35:10 +02:00
commit 8ce671e4d9
3 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@
*/
// FRAMADATE version
const VERSION = '1.1.1';
const VERSION = '1.1.3';
// PHP Needed version
const PHP_NEEDED_VERSION = '5.6';

View File

@ -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>

View File

@ -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>