Commit 86f5df80 by 冷斌

踢人

parent 889c5b81
......@@ -10,7 +10,7 @@ class InviteController extends HomebaseController {
$agentid = checkNull(I("agentid"));
if($agentid){
$agentuid=M('users')->where("id = {$agentid}")->getField('id');
$agentuid=M('users')->where("id = {$agentid}")->find();
if(!$agentuid){
$this->assign("reason",'邀请码不正确');
$this->display(':error');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment