1
0
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:
Thomas Tanghus 2013-01-17 14:22:49 +01:00
parent 41b819c350
commit c334fe58df

View File

@ -128,10 +128,10 @@ if(in_array($name, $multi_properties)) {
'Cannot save property of type "%s" as array', array($name,)
));
}
setParameters($property, $parameters);
} else {
$property = VObject\Property::create($name, $value, $parameters);
}
setParameters($property, $parameters);
$vcard->add($property);
$checksum = substr(md5($property->serialize()), 0, 8);
try {