diff options
author | Brad Jorgensen <bjorgensen@sydconl.com> | 2013-05-03 23:17:24 +0400 |
---|---|---|
committer | Brad Jorgensen <bjorgensen@sydcon.com> | 2013-05-03 23:17:24 +0400 |
commit | 968f9092b0b5af562e1e200387dbe915e072575c (patch) | |
tree | e1414c798cba6eb094d143a364e9eaa6115c3987 /server_status_variables.php | |
parent | d5e0d014aae91ea977402335567756290e07883f (diff) |
added missing </abbr> tag
removed (int) check which caused issues with large numbers on 32-bit systems
Diffstat (limited to 'server_status_variables.php')
-rw-r--r-- | server_status_variables.php | 7 |
1 files 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 .= '<abbr title="' // makes available the raw value as a title . htmlspecialchars(PMA_Util::formatNumber($value, 0)) . '">' - . 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)) + . '</abbr>'; } elseif (is_numeric($value)) { $retval .= htmlspecialchars(PMA_Util::formatNumber($value, 3, 1)); } else { |