diff --git a/addressbook/edit.php b/addressbook/edit.php index 82fa9631ed..9d6c20c3aa 100755 --- a/addressbook/edit.php +++ b/addressbook/edit.php @@ -50,7 +50,6 @@ } // Read in user custom fields, if any - $phpgw->preferences->read_repository(); $customfields = array(); while (list($col,$descr) = @each($phpgw_info["user"]["preferences"]["addressbook"])) { if ( substr($col,0,6) == 'extra_' ) { @@ -70,7 +69,7 @@ $qfields = $this->stock_contact_fields + $extrafields + $customfields; $fields = addressbook_read_entry($ab_id,$qfields); - addressbook_form("","edit.php","Edit",$fields[0],$customfields); + addressbook_form("edit","edit.php","Edit",$fields[0],$customfields); } else { if ($url == "http://") { $url = ""; diff --git a/addressbook/inc/functions.inc.php b/addressbook/inc/functions.inc.php index 2507f4e317..71bceb3513 100755 --- a/addressbook/inc/functions.inc.php +++ b/addressbook/inc/functions.inc.php @@ -484,14 +484,17 @@ $birthday = $phpgw->common->dateformatorder($bday_year,$bday_month,$bday_day) . '(e.g. 1969)'; - - if ($format == "view") - $create .= '