mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-07 14:39:56 +01:00
add mendatory fields again which got lost by the patches of Patrick Bihan-Faou
This commit is contained in:
parent
f0457e8fee
commit
eb3dd68d45
@ -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