forked from extern/egroupware
If only_keys is true, expand it in so_sql_cf so the table_name can be prepended. Fixes last part of #2543, adding link when importing mail to infolog
This commit is contained in:
parent
0406f55d97
commit
6c3ba68ca1
@ -458,6 +458,10 @@ class so_sql_cf extends so_sql
|
||||
}
|
||||
}
|
||||
}
|
||||
if($only_keys === true) {
|
||||
// Expand to keys here, so table_name can be prepended below
|
||||
$only_keys = array_values($this->db_key_cols);
|
||||
}
|
||||
// replace ambiguous column with (an exact match of) table_name.column
|
||||
if(is_array($only_keys))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user