diff --git a/addressbook/inc/class.uiaddressbook.inc.php b/addressbook/inc/class.uiaddressbook.inc.php index 118140925a..ab24924e69 100644 --- a/addressbook/inc/class.uiaddressbook.inc.php +++ b/addressbook/inc/class.uiaddressbook.inc.php @@ -793,6 +793,7 @@ /* merge in extra fields */ $qfields = $this->contacts->stock_contact_fields + $this->extrafields + $customfields; $fields = $this->bo->read_entry(array('id' => $GLOBALS['HTTP_GET_VARS']['ab_id'], 'fields' => $qfields)); + $this->addressbook_form('edit','menuaction=addressbook.uiaddressbook.edit',lang('Edit'),$fields[0],$customfields); $GLOBALS['phpgw']->template->set_file(array('edit' => 'edit.tpl')); @@ -949,6 +950,9 @@ $GLOBALS['phpgw']->template->set_var('lang_viewpref',lang('Address book - view') . $noprefs); + unset($qfields['email_type']); // noone is useing that any more + unset($qfields['privat_email_type']); + @reset($qfields); while(list($column,$null) = @each($qfields)) { @@ -1508,7 +1512,7 @@