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

This commit is contained in:
Ralf Becker 2011-04-21 15:06:12 +00:00
parent 11d6cb3273
commit 61566c2b56

View File

@ -452,7 +452,7 @@ class addressbook_sql extends so_sql
if (strpos($column,'.') === false) if (strpos($column,'.') === false)
{ {
$table = $column == $this->extra_value ? $this->extra_table : $this->table_name; $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 .= '.'; $table .= '.';
} }