diff --git a/addressbook/index.php b/addressbook/index.php index cd129672ee..23b5e6c981 100755 --- a/addressbook/index.php +++ b/addressbook/index.php @@ -60,7 +60,7 @@ $qfields = $this->stock_contact_fields + $extrafields + $customfields; // create column list and the top row of the table based on user prefs - while ($column = each($qfields)) + while ($column = each($this->stock_contact_fields)) { $test = strtolower($column[0]); if (isset($phpgw_info['user']['preferences']['addressbook'][$test]) &&