From 968f9092b0b5af562e1e200387dbe915e072575c Mon Sep 17 00:00:00 2001 From: Brad Jorgensen Date: Fri, 3 May 2013 14:17:24 -0500 Subject: [PATCH] added missing tag removed (int) check which caused issues with large numbers on 32-bit systems --- server_status_variables.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 {