Update functions.php

This commit is contained in:
FusionPBX 2018-12-22 01:50:32 -07:00 committed by GitHub
parent 69475dda2c
commit 485739ccc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -867,7 +867,7 @@ function format_string ($format, $data) {
$user_agent = $_SERVER['HTTP_USER_AGENT'];
$browser_name = 'Unknown';
$platform = 'Unknown';
$version= '';
$version = '';
$mobile = 'false';
//get the platform
@ -955,7 +955,7 @@ function format_string ($format, $data) {
'name' => $browser_name,
'version' => $version,
'platform' => $platform,
'mobile' => $true,
'mobile' => $mobile,
'pattern' => $pattern
);
}