From 6f85700984f0236083c2fbacd870da2ec6d9b2dc Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Tue, 26 Jun 2012 16:06:31 +0200 Subject: [PATCH] Fix variable name. --- lib/vcard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vcard.php b/lib/vcard.php index 0f3a0884..22c546b2 100644 --- a/lib/vcard.php +++ b/lib/vcard.php @@ -403,7 +403,7 @@ class OC_Contacts_VCard{ */ public static function deleteFromDAVData($aid,$uri){ // FIXME: Add error checking. Deleting a card gives an Kontact/Akonadi error. - OC_Hook::emit('OC_Contacts_VCard', 'pre_deleteVCard', array('aid' => $aid, 'id' => null, 'uri' => $uid)); + OC_Hook::emit('OC_Contacts_VCard', 'pre_deleteVCard', array('aid' => $aid, 'id' => null, 'uri' => $uri)); $stmt = OCP\DB::prepare( 'DELETE FROM *PREFIX*contacts_cards WHERE addressbookid = ? AND uri=?' ); $stmt->execute(array($aid,$uri)); OC_Contacts_Addressbook::touch($aid);