mirror of
https://github.com/unraid/webgui.git
synced 2026-01-16 14:39:57 -06:00
Fix regression error in monitor script
This commit is contained in:
@@ -40,6 +40,8 @@ function plus($val,$word,$last) {
|
||||
return $val>0 ? (($val||$last) ? ($val.' '.$word.($val!=1?'s':'').($last ?'':', ')) : '') : '';
|
||||
}
|
||||
function my_temp($value) {
|
||||
global $unraid;
|
||||
$unit = $unraid['display']['unit'];
|
||||
return ($unit=='F' ? round(9/5*$value+32) : $value)." $unit";
|
||||
}
|
||||
function my_disk($name) {
|
||||
|
||||
Reference in New Issue
Block a user