bug #3119874, Show integers without decimals on status page
This commit is contained in:
@@ -124,6 +124,7 @@
|
|||||||
- patch #3112792 [navi] Left panel table grouping incorrect,
|
- patch #3112792 [navi] Left panel table grouping incorrect,
|
||||||
thanks to garas - garas
|
thanks to garas - garas
|
||||||
- bug #3123433 [interface] Avoid double escaping of MySQL errors.
|
- 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)
|
3.3.9.0 (not yet released)
|
||||||
- bug [doc] Fix references to MySQL doc
|
- bug [doc] Fix references to MySQL doc
|
||||||
|
@@ -793,7 +793,7 @@ if (! empty($section['title'])) {
|
|||||||
if ('%' === substr($name, -1, 1)) {
|
if ('%' === substr($name, -1, 1)) {
|
||||||
echo PMA_formatNumber($value, 0, 2) . ' %';
|
echo PMA_formatNumber($value, 0, 2) . ' %';
|
||||||
} elseif (is_numeric($value) && $value == (int) $value) {
|
} elseif (is_numeric($value) && $value == (int) $value) {
|
||||||
echo PMA_formatNumber($value, 3, 1);
|
echo PMA_formatNumber($value, 4, 0);
|
||||||
} elseif (is_numeric($value)) {
|
} elseif (is_numeric($value)) {
|
||||||
echo PMA_formatNumber($value, 3, 1);
|
echo PMA_formatNumber($value, 3, 1);
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user