diff --git a/emhttp/plugins/dynamix/ShareEdit.page b/emhttp/plugins/dynamix/ShareEdit.page index 53c206b31..e3e0624aa 100644 --- a/emhttp/plugins/dynamix/ShareEdit.page +++ b/emhttp/plugins/dynamix/ShareEdit.page @@ -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; }