bug #3119874, Show integers without decimals on status page

This commit is contained in:
Dieter Adriaenssens
2010-12-04 14:13:51 +01:00
parent 621d851c5f
commit d370730eff
2 changed files with 2 additions and 1 deletions

View File

@@ -124,6 +124,7 @@
- patch #3112792 [navi] Left panel table grouping incorrect,
thanks to garas - garas
- bug #3123433 [interface] Avoid double escaping of MySQL errors.
- bug #3119874 [interface] Show integers without decimals on status page.
3.3.9.0 (not yet released)
- bug [doc] Fix references to MySQL doc

View File

@@ -793,7 +793,7 @@ if (! empty($section['title'])) {
if ('%' === substr($name, -1, 1)) {
echo PMA_formatNumber($value, 0, 2) . ' %';
} elseif (is_numeric($value) && $value == (int) $value) {
echo PMA_formatNumber($value, 3, 1);
echo PMA_formatNumber($value, 4, 0);
} elseif (is_numeric($value)) {
echo PMA_formatNumber($value, 3, 1);
} else {