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:
parent
2850592d9c
commit
8dfc52cae0
1 changed files with 2 additions and 2 deletions
|
@ -65,8 +65,8 @@ class rcube_kolab_contacts extends rcube_addressbook
|
||||||
'label' => 'kolab_addressbook.pgppublickey'),
|
'label' => 'kolab_addressbook.pgppublickey'),
|
||||||
'pkcs7publickey' => array('type' => 'textarea', 'size' => 70, 'rows' => 10, 'limit' => 1,
|
'pkcs7publickey' => array('type' => 'textarea', 'size' => 70, 'rows' => 10, 'limit' => 1,
|
||||||
'label' => 'kolab_addressbook.pkcs7publickey'),
|
'label' => 'kolab_addressbook.pkcs7publickey'),
|
||||||
'notes' => array(),
|
'notes' => array('limit' => 1),
|
||||||
'photo' => array(),
|
'photo' => array('limit' => 1),
|
||||||
// TODO: define more Kolab-specific fields such as: language, latitude, longitude, crypto settings
|
// TODO: define more Kolab-specific fields such as: language, latitude, longitude, crypto settings
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue