From 42c017fa0784eb39ee5cc22bf126b4b15c82182e Mon Sep 17 00:00:00 2001 From: dlandon Date: Fri, 7 Feb 2025 18:06:20 -0600 Subject: [PATCH] Php error in Share Edit causes the share edit page to not display correctly. --- emhttp/plugins/dynamix/ShareEdit.page | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }