summaryrefslogtreecommitdiffstats
path: root/apps/contacts
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-04-12 22:38:34 +0200
committerBart Visscher <bartv@thisnet.nl>2012-04-12 23:10:49 +0200
commit5fa90cd21412b8bf06f97e32e6c14f1b62f27714 (patch)
tree7fdf0978c4ea272ffc62f772f1e91a9c7912cdc2 /apps/contacts
parent86edc0da3160533c53c2c47226f00936aee2c337 (diff)
downloadnextcloud-server-5fa90cd21412b8bf06f97e32e6c14f1b62f27714.tar.gz
nextcloud-server-5fa90cd21412b8bf06f97e32e6c14f1b62f27714.zip
Contacts: Also initialize org var in updateValuesFromAdd
Diffstat (limited to 'apps/contacts')
-rw-r--r--apps/contacts/lib/vcard.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/lib/vcard.php b/apps/contacts/lib/vcard.php
index 1502423b90f..90b037f76ee 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') {