From 61566c2b56ca0a6f33de4cf16f50254e3866970d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 21 Apr 2011 15:06:12 +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 87e34cfcd2..6241463fa1 100644 --- a/addressbook/inc/class.addressbook_sql.inc.php +++ b/addressbook/inc/class.addressbook_sql.inc.php @@ -452,7 +452,7 @@ class addressbook_sql extends so_sql 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 .= '.'; }