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:
parent
4244cc0e6f
commit
b8d6b7bcfb
@ -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('\,' => ',', '\;' => ';'));
|
||||
|
Loading…
Reference in New Issue
Block a user