Merge pull request #12416 from rpv-tomsk/fix-replication-status
Fix replication status output in Server > Databases
This commit is contained in:
commit
74016bceea
@ -484,9 +484,7 @@ class ServerDatabasesController extends Controller
|
||||
);
|
||||
|
||||
if (mb_strlen($key) > 0
|
||||
|| (isset($replication_info[$type]['Do_DB'][0])
|
||||
&& $replication_info[$type]['Do_DB'][0] == ""
|
||||
&& count($replication_info[$type]['Do_DB']) == 1)
|
||||
|| count($replication_info[$type]['Do_DB']) == 0
|
||||
) {
|
||||
// if ($key != null) did not work for index "0"
|
||||
$out = Util::getIcon(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user