Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2013-01-21 22:02:46 +0400
committerMadhura Jayaratne <madhura.cj@gmail.com>2013-01-21 22:02:46 +0400
commit03c20164242ff91be56137854d3904a06bbde4e3 (patch)
tree135ab350734e706b1df82b834aa646d9ac8af617 /server_status.php
parentf46ff433a08c813c0f13eabb3d347ff962d0fe1e (diff)
Avoid undefined variable notices
Diffstat (limited to 'server_status.php')
-rw-r--r--server_status.php2
1 files changed, 1 insertions, 1 deletions
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 .= '</a></h3>';
foreach ($GLOBALS['replication_types'] as $type) {
- if (${"server_{$type}_status"}) {
+ if (isset(${"server_{$type}_status"}) && ${"server_{$type}_status"}) {
PMA_replication_print_status_table($type);
}
}