diff --git a/lib/contact.php b/lib/contact.php index 474e811b..a2eef775 100644 --- a/lib/contact.php +++ b/lib/contact.php @@ -456,7 +456,8 @@ class Contact extends VObject\VCard implements IPIMObject { } $value = $date->format('Y-m-d'); $this->BDAY = $value; - $this->BDAY->VALUE = 'DATE'; + $this->BDAY->add('VALUE', 'DATE'); + //\OCP\Util::writeLog('contacts', __METHOD__.' BDAY: '.$this->BDAY->serialize(), \OCP\Util::DEBUG); break; case 'N': $property = $this->select($name);