From 03c20164242ff91be56137854d3904a06bbde4e3 Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Mon, 21 Jan 2013 23:32:46 +0530 Subject: [PATCH] Avoid undefined variable notices --- server_status.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server_status.php b/server_status.php index 46386b3eda..2d4a33e32c 100644 --- a/server_status.php +++ b/server_status.php @@ -122,7 +122,7 @@ function getServerTrafficHtml($ServerStatusData) $retval .= __('Replication status'); $retval .= ''; foreach ($GLOBALS['replication_types'] as $type) { - if (${"server_{$type}_status"}) { + if (isset(${"server_{$type}_status"}) && ${"server_{$type}_status"}) { PMA_replication_print_status_table($type); } }