summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-23 23:03:02 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-04-23 23:03:02 +0200
commit79dcd4677e6718687a77c0d253e67beb1d616af3 (patch)
tree808a14fc3c6b5ce1e58ba773652074dbc756aa4b /templates
parent3389ca2bcf43bcb48c5c0120719f4c57c6dc2241 (diff)
_checked_in: Fix uninitialized value warning
Diffstat (limited to 'templates')
-rw-r--r--templates/_checked_in.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep
index e4afeda..dd1308a 100644
--- a/templates/_checked_in.html.ep
+++ b/templates/_checked_in.html.ep
@@ -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}) {