Merge pull request #12416 from rpv-tomsk/fix-replication-status

Fix replication status output in Server > Databases
This commit is contained in:
Michal Čihař 2016-07-29 10:46:11 +02:00 committed by GitHub
commit 74016bceea

View File

@ -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(