From 52e91f9054b0d897b79a67e697b5e2ae11c1caa3 Mon Sep 17 00:00:00 2001 From: Mark Felder <40271278+feld@users.noreply.github.com> Date: Mon, 17 Sep 2018 14:06:55 -0500 Subject: [PATCH] Fix results image for jitter (#158) Postgres and SQLite were referencing the wrong variable causing the jitter field to always be empty. --- results/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/results/index.php b/results/index.php index 4ee82e1..d8bc265 100644 --- a/results/index.php +++ b/results/index.php @@ -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); -?> \ No newline at end of file +?>