From f098f5c36866086232ff53d908d4733bd3b7189f Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 14 Jul 2015 11:15:30 +0000 Subject: [PATCH] fix typo --- phpgwapi/inc/class.egw_db.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_db.inc.php b/phpgwapi/inc/class.egw_db.inc.php index 2487a5dc27..4b9a9058a2 100644 --- a/phpgwapi/inc/class.egw_db.inc.php +++ b/phpgwapi/inc/class.egw_db.inc.php @@ -352,7 +352,7 @@ class egw_db // check Galera wsrep_local_state for node is not in state Synced, eg. Donor // check is only done for Type=mysql and will succed if no Galera if ($new_connection && $this->Type == 'mysql' && strpos($this->Host, ';') !== false && - ($state = $this->query("SHOW STATUS LIKE 'wsrep_local_state'")->fetchColumn(1) !== false) && + ($state = $this->query("SHOW STATUS LIKE 'wsrep_local_state'")->fetchColumn(1)) !== false && $state != 4) // 4 = Synced { throw new egw_exception_db_connection('wsrep-local-state='.array2string($state).' != 4');