"fixed bug reported by Phillip Herbert on the user list: addressbook view >> more phone numbers does NOT show the fax number"

This commit is contained in:
Ralf Becker 2008-08-25 13:49:32 +00:00
parent e154f96132
commit 48c7fae782

View File

@ -1611,7 +1611,7 @@ class addressbook_ui extends addressbook_bo
foreach(array_keys($this->contact_fields) as $key) foreach(array_keys($this->contact_fields) as $key)
{ {
$readonlys[$key] = true; $readonlys[$key] = true;
if (in_array($key,array('tel_home','tel_work','tel_cell'))) if (in_array($key,array('tel_home','tel_work','tel_cell','tel_fax')))
{ {
$readonlys[$key.'2'] = true; $readonlys[$key.'2'] = true;
$content[$key.'2'] = $content[$key]; $content[$key.'2'] = $content[$key];