From 62f9537a4eed59f4f870f421d9cea046b6ecec1f Mon Sep 17 00:00:00 2001 From: Michael Larabel Date: Thu, 18 Dec 2008 17:22:11 -0500 Subject: pts-core: Improve size detection of low-capacity hard disks --- pts-core/functions/pts-functions_system_hardware.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pts-core') diff --git a/pts-core/functions/pts-functions_system_hardware.php b/pts-core/functions/pts-functions_system_hardware.php index 44a883a..dd69ec4 100644 --- a/pts-core/functions/pts-functions_system_hardware.php +++ b/pts-core/functions/pts-functions_system_hardware.php @@ -256,7 +256,7 @@ function hw_sys_hdd_string() $disk_size /= 1024; } - if($disk_size > 10 && $disk_size % 10 != 0) + if($disk_size > 32 && $disk_size % 10 != 0) { $disk_size *= 1.01; $mod = $disk_size % 10; -- cgit