Fix replication status output in Server > Databases
Broken by829a84b46erefactoring. Incorrectly fixed inc4710c3e1dSigned-off-by: Pavel Rochnyack <pavel2000@ngs.ru>
This commit is contained in:
parent
3c4226cb8c
commit
b705dc5f67
@ -482,9 +482,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