diff --git a/server_status_variables.php b/server_status_variables.php index 93dc968ffb..bed412f1df 100644 --- a/server_status_variables.php +++ b/server_status_variables.php @@ -270,14 +270,13 @@ function getVariablesTableHtml($ServerStatusData) $retval .= htmlspecialchars( PMA_Util::timespanFormat($value) ); - } elseif (is_numeric($value) && $value == (int) $value && $value > 1000) { + } elseif (is_numeric($value) && $value > 1000) { $retval .= '' - . htmlspecialchars(PMA_Util::formatNumber($value, 3, 1)); - } elseif (is_numeric($value) && $value == (int) $value) { - $retval .= htmlspecialchars(PMA_Util::formatNumber($value, 3, 0)); + . htmlspecialchars(PMA_Util::formatNumber($value, 3, 1)) + . ''; } elseif (is_numeric($value)) { $retval .= htmlspecialchars(PMA_Util::formatNumber($value, 3, 1)); } else {