Skip to content

Commit

Permalink
Use // rather than + to ensure something is defined or zero
Browse files Browse the repository at this point in the history
  • Loading branch information
yoe committed Feb 12, 2024
1 parent a596b8a commit 4eefcd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/templates/review/full.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@
</fieldset>
<input type="hidden" name="start_time_corrval" id="start_time_corrval"></input>
<input type="hidden" name="end_time_corrval" id="end_time_corrval"></input>
<input type="hidden" name="serial" id="serial" value="<%= $talk->corrections->{serial} + 0 =%>"></input>
<input type="hidden" name="serial" id="serial" value="<%= $talk->corrections->{serial} // 0 =%>"></input>
<input type="hidden" name="complete_reset" id="complete_reset"></input>
<input type="submit" id="main_action" class="btn btn-primary btn-lg" value="Send your video review to <%= $talk->eventname %>"></input>
</form>
Expand Down

0 comments on commit 4eefcd2

Please sign in to comment.