Przeglądaj źródła

fix strings to int

Dennis 3 lat temu
rodzic
commit
72165b0d95
1 zmienionych plików z 2 dodań i 2 usunięć
  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
-            if ($days < "1")
+            if ($days < 1)
             {
-                if ($hours < "1")
+                if ($hours < 1)
                 {
                     $boxText = 'You ran out of Credits ';
                 }