diff --git a/apps/contacts/index.php b/apps/contacts/index.php
index b179d9bbfe58f78e5a7b292c397e9e872a808758..9012e5d8af8e954a598026c4a179e012c1f40714 100644
--- a/apps/contacts/index.php
+++ b/apps/contacts/index.php
@@ -51,7 +51,7 @@ $vcard = null;
 $details = null;
 if(!is_null($id)) {
 	$vcard = OC_Contacts_App::getContactVCard($id);
-	if(!is_null($vcard) {
+	if(!is_null($vcard)) {
 		$details = OC_Contacts_VCard::structureContact($vcard);
 	}
 }