piwik/piwik — pull request #181 by grtaylor (2013-12-27 15:54:47+00:00)
Title: Fixed issue where browser language was greater than 20 characters

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