diff --git a/pandora_console/extras/pandora_diag.php b/pandora_console/extras/pandora_diag.php index 97696a80dd..f3b11177d1 100644 --- a/pandora_console/extras/pandora_diag.php +++ b/pandora_console/extras/pandora_diag.php @@ -140,8 +140,8 @@ function get_status_logs($path) { $status_server_log = ''; $size_server_log = number_format(get_logs_size($path)); - $size_server_log = ($size_server_log / 1024); - if ($size_server_log <= 10.485760) { + $size_server_log = (0 + str_replace(',', '', $size_server_log)); + if ($size_server_log <= 10485760) { $status_server_log = "Normal Status   You have less than 10 MB of logs"; } else { $status_server_log = "Warning Status   You have more than 10 MB of logs";