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

This commit is contained in:
Ralf Becker 2011-04-21 15:05:45 +00:00
parent 630d467239
commit c1df25378a

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 .= '.';
}