From e82ce99537e1ad63579c01b8698990df8904c7c0 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 12 Sep 2016 23:22:56 +0200 Subject: [PATCH] fix SQL error happening in sync-colletion in TB caused by Db->Type == 'mysqli' and Db->group_connect returning false --- api/src/Db.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/src/Db.php b/api/src/Db.php index f2b52949ee..a47c0eb393 100644 --- a/api/src/Db.php +++ b/api/src/Db.php @@ -1109,6 +1109,7 @@ class Db { switch($this->Type) { + case 'mysqli': case 'mysql': $sql = 'GROUP_CONCAT('.$expr; if ($order_by) $sql .= ' ORDER BY '.$order_by;