mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
add mendatory fields again which got lost by the patches of Patrick Bihan-Faou
This commit is contained in:
parent
ba380b7540
commit
1509ae821e
@ -127,9 +127,10 @@ class vcaladdressbook extends bocontacts
|
||||
$values[] = $value;
|
||||
}
|
||||
|
||||
if ($hasdata <= 0)
|
||||
if ($hasdata <= 0 && !in_array($vcardField,array('FN','ORG','N')))
|
||||
{
|
||||
// don't add the entry if there is no data for this field
|
||||
// don't add the entry if there is no data for this field,
|
||||
// except it's a mendatory field
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user