mirror of
https://github.com/unraid/webgui.git
synced 2026-01-07 01:59:52 -06:00
Update update_2
This commit is contained in:
@@ -233,7 +233,7 @@ function device_usage(&$disk, &$full, &$high) {
|
||||
}
|
||||
function array_group($type, $pool=false) {
|
||||
global $disks,$error,$warning,$red,$orange,$fail,$smart,$full,$high;
|
||||
$error = $warning = $red = $orange = $fail = $smart = $full = $high = 0;
|
||||
if ($type != 'Data') {$error = $warning = $red = $orange = $fail = $smart = $full = $high = 0;}
|
||||
$echo = [];
|
||||
foreach ($disks as $disk) if (_var($disk,'type')==$type && strpos(_var($disk,'status'),'DISK_NP')===false && (!$pool||$pool==prefix(_var($disk,'name')))) {
|
||||
$echo[] = "<tr class='updated'><td>";
|
||||
|
||||
Reference in New Issue
Block a user