1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00

Wrong var name

This commit is contained in:
Thomas Tanghus 2014-03-18 15:16:34 +01:00
parent dab64ee15c
commit dfda6d1ea6

View File

@ -663,7 +663,7 @@ class Contact extends VObject\VCard implements IPIMObject {
$updated = true;
}
} else {
if(!isset($this->{$name})) {
if(!isset($this->{$property->name})) {
$this->add($property);
$updated = true;
} else {