|
|
@@ -14,7 +14,8 @@ function checkToken($token,$db) {
|
|
|
$dbAction->bind_param('s',$token);
|
|
|
$dbAction->execute();
|
|
|
$dbAction->store_result();
|
|
|
- echo $dbAction->num_rows() . PHP_EOL;
|
|
|
+ $dbAction->bind_result($desc);
|
|
|
+ echo "found $desc" . PHP_EOL;
|
|
|
if ($dbAction->num_rows() == 1){
|
|
|
return true;
|
|
|
}
|