diff --git a/addressbook/add.php b/addressbook/add.php index 4b6c9ae179..e7b2d8a3ba 100755 --- a/addressbook/add.php +++ b/addressbook/add.php @@ -94,7 +94,7 @@ $fields["tel_fax"] = $fax; $fields["tel_pager"] = $pager; $fields["tel_cell"] = $mphone; - $fields["tel_msg"] = $ophone; + $fields["tel_msg"] = $msgphone; $fields["adr_one_street"] = $bstreet; $fields["adr_one_locality"] = $bcity; $fields["adr_one_region"] = $bstate; @@ -133,6 +133,7 @@ if ($cust) { $fields[$name] = $cust; } } + $fields["ophone"] = $ophone; $fields["tz"] = $timezone; $fields["bday"] = $bday; $fields["url"] = $url; diff --git a/addressbook/edit.php b/addressbook/edit.php index 554ea58b75..be06041c2f 100755 --- a/addressbook/edit.php +++ b/addressbook/edit.php @@ -131,6 +131,7 @@ eval("if (\$name\) { \$cust \.= \$\$name; }"); if ($cust) { $fields[$name] = $cust; } } + $fields["ophone"] = $ophone; $fields["tz"] = $timezone; $fields["bday"] = $bday;