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:
Mark Felder 2018-09-17 14:06:55 -05:00 committed by Federico Dossena
parent cb944de118
commit 52e91f9054

View file

@ -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);
?>
?>