Incorrect display in replication status

This commit is contained in:
Marc Delisle
2009-06-18 16:36:37 +00:00
parent f140bb9459
commit 9a994756f8
2 changed files with 12 additions and 12 deletions

View File

@@ -19,6 +19,8 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
- bug #2799009 Login with ipv6 IP address breaks redirect - bug #2799009 Login with ipv6 IP address breaks redirect
- bug #2796066 [priv] Inconsistent display of databases list - bug #2796066 [priv] Inconsistent display of databases list
- bug #2802870 [display] Incorrect overhead value for InnoDB - 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) 3.2.0.0 (2009-06-15)
- [core] better support for vendor customisation (based on what Debian needs) - [core] better support for vendor customisation (based on what Debian needs)

View File

@@ -423,19 +423,17 @@ echo sprintf($strServerStatusUptime,
</p> </p>
<?php <?php
if ($server_master_status_run || $server_slave_status_run) if ($server_master_status_run || $server_slave_status_run) {
{ $replicationOut = "";
$replicationOut = ""; foreach ($replication_types as $type) {
foreach ($replication_types as $type) if (${"server_{$type}_status_run"}) {
{ if ($replicationOut != "") {
if ($replicationOut != "") $replicationOut .= $strAndSmall . ' ';
$replicationOut .= $strAndSmall . ' '; }
if (${"server_{$type}_status_run"}) $replicationOut .= '<b>' . $type . '</b> ';
{ }
$replicationOut .= '<b>' . $type . '</b> ';
} }
} echo sprintf('<p>' . $strReplicationStatusInfo . '</p>', $replicationOut);
echo sprintf('<p>' . $strReplicationStatusInfo . '</p>', $replicationOut);
} }
?> ?>