diff options
Diffstat (limited to 'libraries/server_status_processes.lib.php')
-rw-r--r-- | libraries/server_status_processes.lib.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libraries/server_status_processes.lib.php b/libraries/server_status_processes.lib.php index 61140991fc..44f82b1a29 100644 --- a/libraries/server_status_processes.lib.php +++ b/libraries/server_status_processes.lib.php @@ -233,14 +233,11 @@ function PMA_getHtmlForServerProcesslist() */ function PMA_getHtmlForServerProcessItem($process, $odd_row, $show_full_sql) { - /** @var PMA_String $pmaString */ - $pmaString = $GLOBALS['PMA_String']; - // Array keys need to modify due to the way it has used // to display column values if (! empty($_REQUEST['order_by_field']) && ! empty($_REQUEST['sort_order']) ) { foreach (array_keys($process) as $key) { - $new_key = ucfirst($pmaString->strtolower($key)); + $new_key = ucfirst(/*overload*/mb_strtolower($key)); if ($new_key !== $key) { $process[$new_key] = $process[$key]; unset($process[$key]); @@ -261,7 +258,7 @@ function PMA_getHtmlForServerProcessItem($process, $odd_row, $show_full_sql) $retval .= '<td>' . htmlspecialchars($process['User']) . '</td>'; $retval .= '<td>' . htmlspecialchars($process['Host']) . '</td>'; $retval .= '<td>' . ((! isset($process['db']) - || !$pmaString->strlen($process['db'])) + || !/*overload*/mb_strlen($process['db'])) ? '<i>' . __('None') . '</i>' : htmlspecialchars($process['db'])) . '</td>'; $retval .= '<td>' . htmlspecialchars($process['Command']) . '</td>'; |