Contacts: Also initialize org var in updateValuesFromAdd
This commit is contained in:
parent
86edc0da31
commit
5fa90cd214
|
@ -148,7 +148,7 @@ class OC_Contacts_VCard{
|
||||||
$stringprops = array('N', 'FN', 'ORG', 'NICK', 'ADR', 'NOTE');
|
$stringprops = array('N', 'FN', 'ORG', 'NICK', 'ADR', 'NOTE');
|
||||||
$typeprops = array('ADR', 'TEL', 'EMAIL');
|
$typeprops = array('ADR', 'TEL', 'EMAIL');
|
||||||
$upgrade = false;
|
$upgrade = false;
|
||||||
$fn = $n = $uid = $email = null;
|
$fn = $n = $uid = $email = $org = null;
|
||||||
$version = $vcard->getAsString('VERSION');
|
$version = $vcard->getAsString('VERSION');
|
||||||
// Add version if needed
|
// Add version if needed
|
||||||
if($version && $version < '3.0') {
|
if($version && $version < '3.0') {
|
||||||
|
|
Loading…
Reference in New Issue