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

Updating user's isEnabled field receive sql error #36

Open
Trexology opened this issue Feb 4, 2015 · 0 comments
Open

Updating user's isEnabled field receive sql error #36

Trexology opened this issue Feb 4, 2015 · 0 comments

Comments

@Trexology
Copy link

when changing the user isEnabled value to false, will receive sql error "General error: 1366 Incorrect integer value: '' for column 'isEnabled' at row 1"

namely because a string "false" is passed into the sql query instead of int 0.

Changing user_manager class at line 538 to 'isEnabled' => intval($user->isEnabled()), will solve the problem.

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

1 participant