Avoid undefined variable notices
This commit is contained in:
parent
f46ff433a0
commit
03c2016424
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user