From 39bc66df25b98aa61caba73b36003fe763346703 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 28 Jan 2011 09:55:20 +0100 Subject: [PATCH] rfe #1954161 [interface] Do not display long numbers in server status. Fixed again, hopefully this way will work better. --- server_status.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server_status.php b/server_status.php index 2cba1edd5..55f72b3e0 100644 --- a/server_status.php +++ b/server_status.php @@ -803,6 +803,8 @@ if (! empty($section['title'])) { } if ('%' === substr($name, -1, 1)) { echo PMA_formatNumber($value, 0, 2) . ' %'; + } elseif (is_numeric($value) && $value == (int) $value && $value > 1000) { + echo PMA_formatNumber($value, 3, 1); } elseif (is_numeric($value) && $value == (int) $value) { echo PMA_formatNumber($value, 4, 0); } elseif (is_numeric($value)) {