Fixed nonsensical setting of a useless variable, now it has a purpose

This commit is contained in:
Miles Lott 2001-06-28 10:13:17 +00:00
parent 199eed4e71
commit 4af119957c

View File

@ -60,7 +60,7 @@
$qfields = $this->stock_contact_fields + $extrafields + $customfields; $qfields = $this->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
while ($column = each($this->stock_contact_fields)) while ($column = each($qfields))
{ {
$test = strtolower($column[0]); $test = strtolower($column[0]);
if (isset($phpgw_info['user']['preferences']['addressbook'][$test]) && if (isset($phpgw_info['user']['preferences']['addressbook'][$test]) &&