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

+ 1 - 0
index.php

@@ -15,6 +15,7 @@ function checkToken($token,$db) {
     $dbAction->execute();
     $dbAction->store_result();
     $dbAction->bind_result($desc);
+    $dbAction->fetch();
     echo "found $desc" . PHP_EOL;
     if ($dbAction->num_rows() == 1){
         return true;