Fix replication status output in Server > Databases

Broken by 829a84b46e refactoring.
Incorrectly fixed in c4710c3e1d

Signed-off-by: Pavel Rochnyack <pavel2000@ngs.ru>
This commit is contained in:
Pavel Rochnyack 2016-07-27 19:54:49 +01:00
parent 3c4226cb8c
commit b705dc5f67

View File

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