Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

获取验证结果中的一个问题 #2

Closed
sco4x0 opened this issue May 17, 2017 · 1 comment
Closed

获取验证结果中的一个问题 #2

sco4x0 opened this issue May 17, 2017 · 1 comment

Comments

@sco4x0
Copy link

sco4x0 commented May 17, 2017

GeetestLibsuccessValidate方法里,接收的参数$paramsession->get('user_id'),这里获取到的user_id是一个string,不做一下处理的话array_merge会报错

官方给的demo中也是对这个地方做了处理的

if (($user_id != null) and (is_string($user_id))) {
        $query["user_id"] = $user_id;
    }
@sco4x0 sco4x0 closed this as completed May 18, 2017
@jormin
Copy link
Owner

jormin commented May 18, 2017

v1.0.1已经修改了这个错误,感谢指正🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants