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