fix SQL error happening in sync-colletion in TB caused by Db->Type == 'mysqli' and Db->group_connect returning false

This commit is contained in:
Ralf Becker 2016-09-12 23:22:56 +02:00
parent 3dd2f3bf64
commit e82ce99537

View File

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