diff options
author | Jakob Sack <kde@jakobsack.de> | 2011-09-17 02:46:04 +0400 |
---|---|---|
committer | Jakob Sack <kde@jakobsack.de> | 2011-09-17 02:46:04 +0400 |
commit | fe62c803e24587de01c85e722f026641f567e789 (patch) | |
tree | ba3085d676593a62e1fe08fc30e7db2e825d5acd /apps | |
parent | 54a3b28dce8ed0185d504e9c16d068a852d8a7b3 (diff) |
fix small bugs
Diffstat (limited to 'apps')
-rw-r--r-- | apps/contacts/ajax/getdetails.php | 2 | ||||
-rw-r--r-- | apps/contacts/photo.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/contacts/ajax/getdetails.php b/apps/contacts/ajax/getdetails.php index 1f321fa335b..19addd91223 100644 --- a/apps/contacts/ajax/getdetails.php +++ b/apps/contacts/ajax/getdetails.php @@ -34,7 +34,7 @@ if( !OC_User::isLoggedIn()){ } -$card = OC_Contacts_VCard::findCard( $id ); +$card = OC_Contacts_VCard::find( $id ); if( $card === false ){ echo json_encode( array( 'status' => 'error', 'data' => array( 'message' => $l10n->t('Can not find Contact!')))); exit(); diff --git a/apps/contacts/photo.php b/apps/contacts/photo.php index ac49d6c31a8..1b955a8a84d 100644 --- a/apps/contacts/photo.php +++ b/apps/contacts/photo.php @@ -46,7 +46,7 @@ if( $addressbook === false || $addressbook['userid'] != OC_USER::getUser()){ exit(); } -$content = OC_Contacts_Card::parse($card['carddata']); +$content = OC_Contacts_VCard::parse($card['carddata']); // invalid vcard if( is_null($content)){ |