aboutsummaryrefslogtreecommitdiffstats
path: root/apps/contacts/lib/app.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-03-07 21:27:03 +0100
committerBart Visscher <bartv@thisnet.nl>2012-03-07 21:46:42 +0100
commit95995482034a607085d2cdc8000e5ea437c0cb1f (patch)
tree070a086071b4997c56341f2f68e6778b73492965 /apps/contacts/lib/app.php
parentab760578f8141e5ab20345c2f84cb7a545c2e076 (diff)
downloadnextcloud-server-95995482034a607085d2cdc8000e5ea437c0cb1f.tar.gz
nextcloud-server-95995482034a607085d2cdc8000e5ea437c0cb1f.zip
Contacts: change card parameter type of VCard::edit and VCard::add
changed to OC_VObject
Diffstat (limited to 'apps/contacts/lib/app.php')
-rw-r--r--apps/contacts/lib/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/lib/app.php b/apps/contacts/lib/app.php
index ce52df4b75e..e8c3087c8a2 100644
--- a/apps/contacts/lib/app.php
+++ b/apps/contacts/lib/app.php
@@ -92,7 +92,7 @@ class OC_Contacts_App {
OC_Log::write('contacts','getContactVCard, found FN field: '.$vcard->__get('FN'), OC_Log::DEBUG);
$n = implode(';', array_reverse(array_slice(explode(' ', $vcard->__get('FN')), 0, 2))).';;;';
$vcard->setString('N', $n);
- OC_Contacts_VCard::edit( $id, $vcard->serialize());
+ OC_Contacts_VCard::edit( $id, $vcard);
} else { // Else just add an empty 'N' field :-P
$vcard->setString('N', 'Unknown;Name;;;');
}