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

Fix regression where contact photo was included in json response.

This commit is contained in:
Thomas Tanghus 2012-10-05 02:08:42 +02:00
parent 4244cc0e6f
commit b8d6b7bcfb

View File

@ -683,6 +683,8 @@ class OC_Contacts_VCard {
return null; // Badly malformed :-(
}
}
} elseif($property->name == 'PHOTO') {
$property->value = true;
}
if(is_string($value)) {
$value = strtr($value, array('\,' => ',', '\;' => ';'));