diff --git a/addressbook/add.php b/addressbook/add.php index e7b2d8a3ba..c1c94a3198 100755 --- a/addressbook/add.php +++ b/addressbook/add.php @@ -139,6 +139,7 @@ $fields["url"] = $url; $fields["pubkey"] = $pubkey; $fields["note"] = $notes; + $fields["label"] = $label; addressbook_add_entry($phpgw_info["user"]["account_id"],$fields); $ab_id = addressbook_get_lastid(); diff --git a/addressbook/edit.php b/addressbook/edit.php index be06041c2f..d06677b184 100755 --- a/addressbook/edit.php +++ b/addressbook/edit.php @@ -138,6 +138,7 @@ $fields["url"] = $url; $fields["pubkey"] = $pubkey; $fields["note"] = $notes; + $fields["label"] = $label; $userid = $phpgw_info["user"]["account_id"]; diff --git a/addressbook/inc/functions.inc.php b/addressbook/inc/functions.inc.php index e5d37bef1f..dfc7382c4c 100755 --- a/addressbook/inc/functions.inc.php +++ b/addressbook/inc/functions.inc.php @@ -197,6 +197,7 @@ $timezone = $fields["tz"]; $bday = $fields["bday"]; $notes = stripslashes($fields["note"]); + $label = stripslashes($fields["label"]); $company = $fields["org_name"]; $department = $fields["org_unit"]; $url = $fields["url"]; @@ -328,6 +329,7 @@ } $notes = ''; + $label = ''; $pubkey = ''; } else { $notes = "