From 5fa90cd21412b8bf06f97e32e6c14f1b62f27714 Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Thu, 12 Apr 2012 22:38:34 +0200 Subject: [PATCH] Contacts: Also initialize org var in updateValuesFromAdd --- apps/contacts/lib/vcard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/contacts/lib/vcard.php b/apps/contacts/lib/vcard.php index 1502423b90..90b037f76e 100644 --- a/apps/contacts/lib/vcard.php +++ b/apps/contacts/lib/vcard.php @@ -148,7 +148,7 @@ class OC_Contacts_VCard{ $stringprops = array('N', 'FN', 'ORG', 'NICK', 'ADR', 'NOTE'); $typeprops = array('ADR', 'TEL', 'EMAIL'); $upgrade = false; - $fn = $n = $uid = $email = null; + $fn = $n = $uid = $email = $org = null; $version = $vcard->getAsString('VERSION'); // Add version if needed if($version && $version < '3.0') {