forked from extern/egroupware
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;
|
$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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user