Fix importing photo and notes fields (Bug #1635). Values of these fields

were imported from vCard as one-element-arrays. Setting limit=1 on these
fields makes that the array is converted to string as needed.
This commit is contained in:
Aleksander Machniak 2013-02-20 09:36:04 +01:00
parent 2850592d9c
commit 8dfc52cae0

View file

@ -65,8 +65,8 @@ class rcube_kolab_contacts extends rcube_addressbook
'label' => 'kolab_addressbook.pgppublickey'),
'pkcs7publickey' => array('type' => 'textarea', 'size' => 70, 'rows' => 10, 'limit' => 1,
'label' => 'kolab_addressbook.pkcs7publickey'),
'notes' => array(),
'photo' => array(),
'notes' => array('limit' => 1),
'photo' => array('limit' => 1),
// TODO: define more Kolab-specific fields such as: language, latitude, longitude, crypto settings
);