Merge branch 'bug/issue-330-undefined-valuemax' into 'develop'

Bug/issue 330 undefined valuemax

Closes #330

See merge request framasoft/framadate/framadate!415
This commit is contained in:
Thomas Citharel 2019-09-09 17:08:13 +02:00
commit 0199d411eb

View file

@ -227,7 +227,7 @@
{foreach $slots as $id=>$slot}
<td class="bg-info" headers="C{$id}">
<ul class="list-unstyled choice">
{if $poll->valuemax eq NULL || $best_choices['y'][$i] lt $poll->valuemax}
{if $poll->ValueMax eq NULL || $best_choices['y'][$i] lt $poll->ValueMax}
<li class="yes">
<input type="radio" id="y-choice-{$id}" name="choices[{$id}]" value="2"
{(!isset($selectedNewVotes[$id]) || ("2" !== $selectedNewVotes[$id])) ? "" : " checked"}