From dca785709fa8aab9b9d5864eb6402cd531babcc7 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 21 Apr 2011 15:05:10 +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 f66673ea48..ffcaf041e9 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 .= '.'; }