mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
* eSyncPro: fix SQL error in device list
This commit is contained in:
parent
c05047728c
commit
da27403b1b
@ -949,6 +949,11 @@ class Base
|
||||
{
|
||||
if (!in_array($col, $colums) && !in_array($col, $as_columns))
|
||||
{
|
||||
// make sure column-name is not ambigous
|
||||
if ($join && strpos($join, $this->table_name.'.'.$col))
|
||||
{
|
||||
$col = $this->table_name.'.'.$col.' AS '.$col;
|
||||
}
|
||||
$colums[] = $col;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user