Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mattab committed Dec 28, 2013
1 parent 525f941 commit 494b9e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/Tracker/Visit.php
Expand Up @@ -609,7 +609,7 @@ protected function getUserSettingsInformation()
$os = UserAgentParser::getOperatingSystem($userAgent);
$os = $os === false ? 'UNK' : $os['id'];

$browserLang = substr($this->request->getBrowserLanguage(), 20); // limit the length of this string to match db
$browserLang = substr($this->request->getBrowserLanguage(), 0, 20); // limit the length of this string to match db
$configurationHash = $this->getConfigHash(
$os,
$browserName,
Expand Down

0 comments on commit 494b9e4

Please sign in to comment.