From b705dc5f6784dfec60fd788e9bdaa969668fb150 Mon Sep 17 00:00:00 2001 From: Pavel Rochnyack Date: Wed, 27 Jul 2016 19:54:49 +0100 Subject: [PATCH] Fix replication status output in Server > Databases Broken by 829a84b46e101cc5caa3a4252ea6f4453c49528d refactoring. Incorrectly fixed in c4710c3e1d20c95b6cf5081d02ac50eda86d2538 Signed-off-by: Pavel Rochnyack --- libraries/controllers/server/ServerDatabasesController.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libraries/controllers/server/ServerDatabasesController.php b/libraries/controllers/server/ServerDatabasesController.php index a8e2a46f2c..140c14fe17 100644 --- a/libraries/controllers/server/ServerDatabasesController.php +++ b/libraries/controllers/server/ServerDatabasesController.php @@ -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(