diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-04-23 23:03:02 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-04-23 23:03:02 +0200 |
commit | 79dcd4677e6718687a77c0d253e67beb1d616af3 (patch) | |
tree | 808a14fc3c6b5ce1e58ba773652074dbc756aa4b /templates | |
parent | 3389ca2bcf43bcb48c5c0120719f4c57c6dc2241 (diff) |
_checked_in: Fix uninitialized value warning
Diffstat (limited to 'templates')
-rw-r--r-- | templates/_checked_in.html.ep | 2 |
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}) { |