added missing </abbr> tag

removed (int) check which caused issues with large numbers on 32-bit systems
This commit is contained in:
Brad Jorgensen 2013-05-03 14:17:24 -05:00 committed by Brad Jorgensen
parent d5e0d014aa
commit 968f9092b0

View File

@ -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 {