Fix division by Zero in pireps/show.blade.php (#1493)
* Fix division by Zero in pireps/show.blade.php Division by Zero caused by possible null distance fixed by adding check. * Update show.blade.php * Update show.blade.php * Update show.blade.php Final form :)
This commit is contained in:
parent
41bd325f9a
commit
00918f54aa
@ -72,6 +72,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if(!empty($pirep->distance))
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="progress" style="margin: 20px 0;">
|
||||
@ -82,6 +83,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
|
Loading…
Reference in New Issue
Block a user