forked from extern/egroupware
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:
parent
3dd2f3bf64
commit
e82ce99537
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user