mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
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)
|
switch($this->Type)
|
||||||
{
|
{
|
||||||
|
case 'mysqli':
|
||||||
case 'mysql':
|
case 'mysql':
|
||||||
$sql = 'GROUP_CONCAT('.$expr;
|
$sql = 'GROUP_CONCAT('.$expr;
|
||||||
if ($order_by) $sql .= ' ORDER BY '.$order_by;
|
if ($order_by) $sql .= ' ORDER BY '.$order_by;
|
||||||
|
Loading…
Reference in New Issue
Block a user