Browse Source

fix strings to int

Dennis 3 years ago
parent
commit
72165b0d95
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Http/Controllers/HomeController.php

+ 2 - 2
app/Http/Controllers/HomeController.php

@@ -43,9 +43,9 @@ class HomeController extends Controller
             }
             }
 
 
             // DEFINE WETHER DAYS OR HOURS REMAIN
             // DEFINE WETHER DAYS OR HOURS REMAIN
-            if ($days < "1")
+            if ($days < 1)
             {
             {
-                if ($hours < "1")
+                if ($hours < 1)
                 {
                 {
                     $boxText = 'You ran out of Credits ';
                     $boxText = 'You ran out of Credits ';
                 }
                 }