mirror of
https://github.com/unraid/webgui.git
synced 2026-01-09 19:20:06 -06:00
Merge pull request #2003 from dlandon/another_php_error_in_share_edit_page
Php error in Share Edit
This commit is contained in:
@@ -123,7 +123,7 @@ function presetSpace($val) {
|
||||
if (!empty($large)) {
|
||||
$fsSize[''] = max(array_filter($large, 'is_numeric'));
|
||||
} else if (!empty($fsSize)) {
|
||||
$fsSize[''] = $fsSize[$pool];
|
||||
$fsSize[''] = min(array_filter($fsSize));
|
||||
} else {
|
||||
$fsSize[''] = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user