mirror of
https://github.com/unraid/webgui.git
synced 2026-05-12 23:30:01 -05:00
Fixes for ZFS subpools
This commit is contained in:
@@ -322,7 +322,7 @@ if ($saved) {
|
||||
$text = '';
|
||||
foreach ($saved as $item => $block) {
|
||||
if ($block) $text .= "[$item]\n";
|
||||
foreach ($block as $key => $value) $text .= str_replace('~','_-_',$key)."=\"$value\"\n";
|
||||
foreach ($block as $key => $value) $text .= no_tilde($key)."=\"$value\"\n";
|
||||
}
|
||||
if ($text) {
|
||||
if ($text != @file_get_contents($ram)) file_put_contents($ram, $text);
|
||||
|
||||
Reference in New Issue
Block a user