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"];
|
||||
$ul=$row["ul"];
|
||||
$ping=$row["ping"];
|
||||
$jitter=$row["jitter"];
|
||||
$jit=$row["jitter"];
|
||||
$conn=null;
|
||||
}else if($db_type=="postgresql"){
|
||||
$conn_host = "host=$PostgreSql_hostname";
|
||||
|
@ -85,7 +85,7 @@ if($db_type=="mysql"){
|
|||
$dl=$row["dl"];
|
||||
$ul=$row["ul"];
|
||||
$ping=$row["ping"];
|
||||
$jitter=$row["jitter"];
|
||||
$jit=$row["jitter"];
|
||||
$conn=null;
|
||||
}else die();
|
||||
|
||||
|
@ -130,4 +130,4 @@ header('Content-Type: image/png');
|
|||
imagepng($im);
|
||||
imagedestroy($im);
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue