mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-18 07:52:21 +01:00
fix small bugs
This commit is contained in:
parent
e916f7eeeb
commit
6b6a0021fc
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user