andre 4 years ago
parent
commit
0be1a733c0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      index.php

+ 1 - 1
index.php

@@ -26,7 +26,7 @@ function set($ip,$db) {
     return $dbAction->execute();
     return $dbAction->execute();
 }
 }
 
 
-if (checkToken($token,$db)){
+if (checkToken($token,$db) == true){
     if(set(ip2long($ip),$db)){
     if(set(ip2long($ip),$db)){
         echo "$token inserted $ip" . PHP_EOL;
         echo "$token inserted $ip" . PHP_EOL;
     } else {
     } else {