andre 4 年之前
父节点
当前提交
0e1eea1f7a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      index.php

+ 1 - 1
index.php

@@ -9,7 +9,7 @@ if ($db->connect_errno){
 }
 $db->set_charset('utf8');
 
-function checkToken($token,$db) {
+function checkToken($token) {
     $dbAction = $db->prepare("SELECT description FROM clients WHERE token = ?");
     $dbAction->bind_param('s',$token);
     $dbAction->execute();