DeviceInfo: fix incorrect floor size entries

This commit is contained in:
bergware
2023-06-10 11:26:07 +02:00
parent bf720c488a
commit a8cf94d7b3
+1
View File
@@ -31,6 +31,7 @@ function sanitize(&$val) {
$data = explode('.',str_replace([' ',','],['','.'],$val));
$last = array_pop($data);
$val = count($data) ? implode($data).".$last" : $last;
$val = preg_replace('/[^0-9.]/','',$val);
}
function presetSpace($val) {
global $disk,$display;