CC-3797: Feedback Metrics "Show Me What I Am Sending" doesnt show all of the fields that are being sent
-fixed
This commit is contained in:
parent
71c279a2f9
commit
8ff30cf5a1
|
@ -397,7 +397,7 @@ class Application_Model_Preference
|
|||
return $out;
|
||||
}
|
||||
|
||||
public static function GetSystemInfo($returnArray=false, $p_testing)
|
||||
public static function GetSystemInfo($returnArray=false, $p_testing=false)
|
||||
{
|
||||
exec('/usr/bin/airtime-check-system --no-color', $output);
|
||||
|
||||
|
@ -464,7 +464,7 @@ class Application_Model_Preference
|
|||
if($key == 'SAAS' && ($out != '' || $out != 'disabled')){
|
||||
continue;
|
||||
}
|
||||
if($out != ''){
|
||||
if($out != '' || is_numeric($out)){
|
||||
if($key == "STREAM_INFO"){
|
||||
$outputString .= $key." :\n";
|
||||
foreach($out as $s_info){
|
||||
|
@ -472,6 +472,12 @@ class Application_Model_Preference
|
|||
$outputString .= "\t".strtoupper($k)." : ".$v."\n";
|
||||
}
|
||||
}
|
||||
}else if ($key == "SOUNDCLOUD_ENABLED") {
|
||||
if ($out) {
|
||||
$outputString .= $key." : TRUE\n";
|
||||
} else if (!$out) {
|
||||
$outputString .= $key." : FALSE\n";
|
||||
}
|
||||
}else{
|
||||
$outputString .= $key.' : '.$out."\n";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue