renlok / WeBid

The official WeBid github fork
http://www.webidsupport.com
114 stars 124 forks source link

Fix platform string length #482

Closed robberteggermont closed 7 years ago

robberteggermont commented 7 years ago

The length of $os can exceed 50 characters, causing the "String data, right truncated: 1406 Data too long for column 'platform'" database error. Fix by truncating to 50 characters.