fix bug
This commit is contained in:
@@ -17,7 +17,7 @@ class Help
|
|||||||
}
|
}
|
||||||
$student_id = $GLOBALS['data']['data']['student_id'];
|
$student_id = $GLOBALS['data']['data']['student_id'];
|
||||||
|
|
||||||
$info = Db::name("student")->where("id",$student_id)->field("id")->find();
|
$info = Db::name("student")->where("id",$student_id)->field("id,hot")->find();
|
||||||
if(empty($info)){
|
if(empty($info)){
|
||||||
return show("找不到该学生信息!");
|
return show("找不到该学生信息!");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user