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 {