diff --git a/libraries/server_status_variables.lib.php b/libraries/server_status_variables.lib.php index 0bf172dadd..98ee527e57 100644 --- a/libraries/server_status_variables.lib.php +++ b/libraries/server_status_variables.lib.php @@ -253,7 +253,7 @@ function PMA_getHtmlForRenderVariables($ServerStatusData, $alerts, $strShowStatu $retval .= ''; } } - if (substr($name, -1)) { + if (substr($name, -1) === '%') { $retval .= htmlspecialchars(PMA_Util::formatNumber($value, 0, 2)) . ' %'; } elseif (strpos($name, 'Uptime') !== false) { $retval .= htmlspecialchars(