Fix to actually show user's custom fields on a new entry

This commit is contained in:
Miles Lott 2001-03-18 16:23:00 +00:00
parent e67c4b9486
commit 61b688e6be

View File

@ -46,7 +46,8 @@
$fields["email"] = $add_email;
addressbook_form("","add.php","Add",$fields);
} else if (! $submit && ! $add_email) {
addressbook_form("","add.php","Add","");
// Default
addressbook_form("","add.php","Add","",$customfields);
} elseif ($submit && $fields) {
// This came from the view form, Copy entry
$extrafields = array(