mirror of
https://github.com/derf/travelynx
synced 2024-12-04 02:09:09 +00:00
_checked_in: Fix uninitialized value warning
This commit is contained in:
parent
3389ca2bcf
commit
79dcd4677e
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@
|
|||
% }
|
||||
</div>
|
||||
<div class="progress green darken-3" style="height: 1ex;">
|
||||
<div class="determinate white" style="width: <%= sprintf('%.2f', 100 * $status->{journey_completion}); %>%;"></div>
|
||||
<div class="determinate white" style="width: <%= sprintf('%.2f', 100 * ($status->{journey_completion} // 0)); %>%;"></div>
|
||||
</div>
|
||||
</p>
|
||||
% if ($status->{arr_name}) {
|
||||
|
|
Loading…
Reference in a new issue