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

Fixed issue where browser language was greater than 20 characters #181

Merged
merged 1 commit into from Dec 27, 2013

Conversation

grtaylor
Copy link
Contributor

Truncate the browser language string to match database specs and avoid sql error:

Error query: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'location_browser_lang' at row 1

mattab pushed a commit that referenced this pull request Dec 27, 2013
Fixed issue where browser language was greater than 20 characters an Mysql is in strict mode. fixes #4450
thanks for report & PR
@mattab mattab merged commit b659beb into matomo-org:master Dec 27, 2013
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

Successfully merging this pull request may close these issues.

None yet

3 participants