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:
Nathan Gray 2010-04-21 15:40:58 +00:00
parent 0406f55d97
commit 6c3ba68ca1

View File

@ -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))
{