Permalink
Browse files

Fix results image for jitter (#158)

Postgres and SQLite were referencing the wrong variable causing the jitter field to always be empty.
  • Loading branch information...
feld authored and adolfintel committed Sep 17, 2018
1 parent cb944de commit 52e91f9054b0d897b79a67e697b5e2ae11c1caa3
Showing with 3 additions and 3 deletions.
  1. +3 −3 results/index.php
View
@@ -70,7 +70,7 @@ function tryFont($name){
$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 @@ function tryFont($name){
$dl=$row["dl"];
$ul=$row["ul"];
$ping=$row["ping"];
$jitter=$row["jitter"];
$jit=$row["jitter"];
$conn=null;
}else die();
@@ -130,4 +130,4 @@ function tryFont($name){
imagepng($im);
imagedestroy($im);
?>
?>

0 comments on commit 52e91f9

Please sign in to comment.