mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
fixed SQL error caused by so_sql prefixing 0 with table name
This commit is contained in:
parent
b6013305f7
commit
ecf440ed57
@ -501,7 +501,7 @@ class so_sql_cf extends so_sql
|
||||
{
|
||||
foreach($only_keys as $key => &$col)
|
||||
{
|
||||
if(is_numeric($key) && in_array($col, $this->db_cols))
|
||||
if(is_numeric($key) && in_array($col, $this->db_cols, true))
|
||||
{
|
||||
$col = $this->table_name .'.'.array_search($col, $this->db_cols).' AS '.$col;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user