Fix results image for jitter (#158)
Postgres and SQLite were referencing the wrong variable causing the jitter field to always be empty.
This commit is contained in:
parent
cb944de118
commit
52e91f9054
|
@ -70,7 +70,7 @@ if($db_type=="mysql"){
|
||||||
$dl=$row["dl"];
|
$dl=$row["dl"];
|
||||||
$ul=$row["ul"];
|
$ul=$row["ul"];
|
||||||
$ping=$row["ping"];
|
$ping=$row["ping"];
|
||||||
$jitter=$row["jitter"];
|
$jit=$row["jitter"];
|
||||||
$conn=null;
|
$conn=null;
|
||||||
}else if($db_type=="postgresql"){
|
}else if($db_type=="postgresql"){
|
||||||
$conn_host = "host=$PostgreSql_hostname";
|
$conn_host = "host=$PostgreSql_hostname";
|
||||||
|
@ -85,7 +85,7 @@ if($db_type=="mysql"){
|
||||||
$dl=$row["dl"];
|
$dl=$row["dl"];
|
||||||
$ul=$row["ul"];
|
$ul=$row["ul"];
|
||||||
$ping=$row["ping"];
|
$ping=$row["ping"];
|
||||||
$jitter=$row["jitter"];
|
$jit=$row["jitter"];
|
||||||
$conn=null;
|
$conn=null;
|
||||||
}else die();
|
}else die();
|
||||||
|
|
||||||
|
@ -130,4 +130,4 @@ header('Content-Type: image/png');
|
||||||
imagepng($im);
|
imagepng($im);
|
||||||
imagedestroy($im);
|
imagedestroy($im);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue