mirror of
https://github.com/unraid/webgui.git
synced 2026-01-06 09:39:58 -06:00
Fix subpool errors
This commit is contained in:
@@ -454,6 +454,7 @@ while (true) {
|
||||
$off = false;
|
||||
foreach ($cache as $disk) if (prefix(_var($disk,'name'))==$pool) {
|
||||
$echo[$n] .= array_offline($disk,$pool);
|
||||
// tilde is not allowed in array key - replace it
|
||||
$diskname = str_replace('~','_-_',_var($disk,'name'));
|
||||
if (isset($log[$diskname])) $off |= ($log[$diskname] != _var($disk,'id')); elseif ($diskname) $log[$diskname] = _var($disk,'id');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user