MDL-44829 libraries: Update android user agent detection

This commit is contained in:
BKelada
2014-12-17 16:10:24 +11:00
committed by Ben Kelada
parent 8f06fffbe1
commit 8ce30abf5b
2 changed files with 23 additions and 2 deletions
+1 -1
View File
@@ -756,7 +756,7 @@ class core_useragent {
if ($useragent === false) {
return false;
}
if (strpos($useragent, 'Linux; U; Android') === false) {
if (strpos($useragent, 'Android') === false) {
return false;
}
if (empty($version)) {