From c1df25378a709d47cdf016dcbaf8304eb6af2bae Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 21 Apr 2011 15:05:45 +0000 Subject: [PATCH] fixing the fix ... (db-name is in key, not value) --- addressbook/inc/class.addressbook_sql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_sql.inc.php b/addressbook/inc/class.addressbook_sql.inc.php index d1921fb13f..5d05711a4b 100644 --- a/addressbook/inc/class.addressbook_sql.inc.php +++ b/addressbook/inc/class.addressbook_sql.inc.php @@ -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 .= '.'; }