fix from pro-inform to get the prefs working with ldap

This commit is contained in:
Ralf Becker 2004-03-23 09:11:49 +00:00
parent 31d9bd59b6
commit a202fb770a

View File

@ -314,7 +314,7 @@
/* $qfields = $contacts->stock_contact_fields + $extrafields + $customfields; */ /* $qfields = $contacts->stock_contact_fields + $extrafields + $customfields; */
/* create column list and the top row of the table based on user prefs */ /* 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); $test = strtolower($column);
if(isset($this->prefs[$test]) && $this->prefs[$test]) if(isset($this->prefs[$test]) && $this->prefs[$test])