Merge pull request #2003 from dlandon/another_php_error_in_share_edit_page

Php error in Share Edit
This commit is contained in:
tom mortensen
2025-02-08 00:35:27 -08:00
committed by GitHub

View File

@@ -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;
}