Incorrect display in replication status
This commit is contained in:
@@ -19,6 +19,8 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
|
||||
- bug #2799009 Login with ipv6 IP address breaks redirect
|
||||
- bug #2796066 [priv] Inconsistent display of databases list
|
||||
- bug #2802870 [display] Incorrect overhead value for InnoDB
|
||||
- bug [display] Incorrect display in replication status,
|
||||
thanks to Tomas Srnka - tomassrnka
|
||||
|
||||
3.2.0.0 (2009-06-15)
|
||||
- [core] better support for vendor customisation (based on what Debian needs)
|
||||
|
@@ -423,19 +423,17 @@ echo sprintf($strServerStatusUptime,
|
||||
</p>
|
||||
|
||||
<?php
|
||||
if ($server_master_status_run || $server_slave_status_run)
|
||||
{
|
||||
$replicationOut = "";
|
||||
foreach ($replication_types as $type)
|
||||
{
|
||||
if ($replicationOut != "")
|
||||
$replicationOut .= $strAndSmall . ' ';
|
||||
if (${"server_{$type}_status_run"})
|
||||
{
|
||||
$replicationOut .= '<b>' . $type . '</b> ';
|
||||
if ($server_master_status_run || $server_slave_status_run) {
|
||||
$replicationOut = "";
|
||||
foreach ($replication_types as $type) {
|
||||
if (${"server_{$type}_status_run"}) {
|
||||
if ($replicationOut != "") {
|
||||
$replicationOut .= $strAndSmall . ' ';
|
||||
}
|
||||
$replicationOut .= '<b>' . $type . '</b> ';
|
||||
}
|
||||
}
|
||||
}
|
||||
echo sprintf('<p>' . $strReplicationStatusInfo . '</p>', $replicationOut);
|
||||
echo sprintf('<p>' . $strReplicationStatusInfo . '</p>', $replicationOut);
|
||||
}
|
||||
?>
|
||||
|
||||
|
Reference in New Issue
Block a user