fixing the fix ... (db-name is in key, not value)

This commit is contained in:
Ralf Becker 2011-04-21 15:05:10 +00:00
parent 53400c27f0
commit dca785709f

View File

@ -368,7 +368,7 @@ class addressbook_sql extends so_sql_cf
if (strpos($column,'.') === false)
{
$table = $column == $this->extra_value ? $this->extra_table : $this->table_name;
if (in_array($column, $this->db_cols))
if (isset($this->db_cols[$column]))
{
$table .= '.';
}