diff --git a/emhttp/plugins/dynamix/include/Helpers.php b/emhttp/plugins/dynamix/include/Helpers.php index 7e7eb978e..c59148e2b 100644 --- a/emhttp/plugins/dynamix/include/Helpers.php +++ b/emhttp/plugins/dynamix/include/Helpers.php @@ -49,7 +49,7 @@ function my_time($time, $fmt=NULL) { } function my_temp($value) { global $display; - $unit = _var($display,'unit'); + $unit = _var($display,'unit','C'); $number = _var($display,'number','.,'); return is_numeric($value) ? (($unit=='F' ? fahrenheit($value) : str_replace('.', $number[0], $value)).' °'.$unit) : $value; }