From a202fb770a09f7bde765e3089928bdc1f065e7d0 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 23 Mar 2004 09:11:49 +0000 Subject: [PATCH] fix from pro-inform to get the prefs working with ldap --- addressbook/inc/class.uiaddressbook.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.uiaddressbook.inc.php b/addressbook/inc/class.uiaddressbook.inc.php index 12dd5873dc..354e4a93ef 100644 --- a/addressbook/inc/class.uiaddressbook.inc.php +++ b/addressbook/inc/class.uiaddressbook.inc.php @@ -314,7 +314,7 @@ /* $qfields = $contacts->stock_contact_fields + $extrafields + $customfields; */ /* create column list and the top row of the table based on user prefs */ - foreach($this->bo->stock_contact_fields as $column) + foreach($this->bo->stock_contact_fields as $column => $db_name) { $test = strtolower($column); if(isset($this->prefs[$test]) && $this->prefs[$test])