mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-18 07:52:21 +01:00
Contacts: Don't double add parameters.
This commit is contained in:
parent
41b819c350
commit
c334fe58df
@ -128,10 +128,10 @@ if(in_array($name, $multi_properties)) {
|
|||||||
'Cannot save property of type "%s" as array', array($name,)
|
'Cannot save property of type "%s" as array', array($name,)
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
setParameters($property, $parameters);
|
||||||
} else {
|
} else {
|
||||||
$property = VObject\Property::create($name, $value, $parameters);
|
$property = VObject\Property::create($name, $value, $parameters);
|
||||||
}
|
}
|
||||||
setParameters($property, $parameters);
|
|
||||||
$vcard->add($property);
|
$vcard->add($property);
|
||||||
$checksum = substr(md5($property->serialize()), 0, 8);
|
$checksum = substr(md5($property->serialize()), 0, 8);
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user