mirror of
https://github.com/unraid/webgui.git
synced 2026-01-07 01:59:52 -06:00
device_list: fix regression error
This commit is contained in:
@@ -421,9 +421,10 @@ while (true) {
|
||||
$crypto = false;
|
||||
$echo = [];
|
||||
foreach ($disks as $disk) {
|
||||
if ($disk['type']=='Flash') continue;
|
||||
${$disk['type']}[] = $disk;
|
||||
$crypto |= _var($disk,'luksState',0)!=0 || vfs_luks(_var($disk,'fsType'));
|
||||
$type = $disk['type'];
|
||||
if ($type=='Flash') continue;
|
||||
${$type}[$disk['name']] = $disk;
|
||||
if ($type!='Parity') $crypto |= _var($disk,'luksState',0)!=0 || vfs_luks(_var($disk,'fsType'));
|
||||
}
|
||||
$pools = array_unique(array_map('prefix',array_column($Cache,'name')));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user