Merge pull request #1386 from drainx/master

Fix Status->All status variables to display correct suffix and formattin...
This commit is contained in:
Marc Delisle 2014-11-03 13:12:37 -05:00
commit 43c0be8a84

View File

@ -253,7 +253,7 @@ function PMA_getHtmlForRenderVariables($ServerStatusData, $alerts, $strShowStatu
$retval .= '<span class="allfine">';
}
}
if (substr($name, -1)) {
if (substr($name, -1) === '%') {
$retval .= htmlspecialchars(PMA_Util::formatNumber($value, 0, 2)) . ' %';
} elseif (strpos($name, 'Uptime') !== false) {
$retval .= htmlspecialchars(