From 6bcc5d8f29a0d66a4c23291acafe882a6d8564a5 Mon Sep 17 00:00:00 2001 From: Jovan Jovanovic Date: Sat, 25 Sep 2021 04:03:14 +0200 Subject: [PATCH] Fix division by zero --- resources/views/home.blade.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index 4ec088d4..424cd48b 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -67,6 +67,7 @@ + @if($useage > 0)
@if(number_format((Auth::user()->Credits()*30)/$useage,0,'.','') >= 15) @@ -91,6 +92,7 @@
+ @endif