From 8849cee3f4d0f444190f30f8ec2df84d65c62326 Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Tue, 9 Feb 2016 15:42:46 -0600 Subject: [PATCH] Missed this while fixing sensor data with 0 values. --- html/includes/table/sensors.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/includes/table/sensors.inc.php b/html/includes/table/sensors.inc.php index 62fd73b64..5bf964193 100644 --- a/html/includes/table/sensors.inc.php +++ b/html/includes/table/sensors.inc.php @@ -47,7 +47,7 @@ if ($rowCount != -1) { $sql = "SELECT * $sql"; foreach (dbFetchRows($sql, $param) as $sensor) { - if (empty($sensor['sensor_current'])) { + if (!isset($sensor['sensor_current'])) { $sensor['sensor_current'] = 'NaN'; } else {