Update functions.php

This commit is contained in:
FusionPBX
2018-12-22 01:50:32 -07:00
committed by GitHub
parent 69475dda2c
commit 485739ccc0

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
);
}