|
|
|
@ -69,14 +69,16 @@ foreach my $acc (@accounts){ |
|
|
|
|
my $initials = $acc->prop('Initials') || ''; |
|
|
|
|
my $dshell = $acc->prop('DesktopShell') || ''; |
|
|
|
|
my $preferredemail = $acc->prop('PreferredEmail') || ''; |
|
|
|
|
my $category = $acc->prop('Category') || ''; |
|
|
|
|
$preferredemail = "$user\@$domain" if ($preferredemail eq ''); |
|
|
|
|
my $web = $acc->prop('Url') || ''; |
|
|
|
|
|
|
|
|
|
my (@postalcode,@mobile,@extension,@fax,@titles,@initials,@dshell,@preferredemail,@web) = (); |
|
|
|
|
my (@postalcode,@mobile,@extension,@fax,@titles,@initials,@dshell,@preferredemail,@category,@web) = (); |
|
|
|
|
@postalcode = ($postalcode) unless ($postalcode eq ''); |
|
|
|
|
@mobile = ($mobile) unless ($mobile eq ''); |
|
|
|
|
@extension = ($extension) unless ($extension eq ''); |
|
|
|
|
@fax = ($fax) unless ($fax eq ''); |
|
|
|
|
@category = ($category) unless ($category eq ''); |
|
|
|
|
foreach ($function1, $function2, $function3, $function4){ |
|
|
|
|
push @titles, $_ if ($_ ne ''); |
|
|
|
|
} |
|
|
|
@ -94,6 +96,7 @@ foreach my $acc (@accounts){ |
|
|
|
|
initials => \@initials, |
|
|
|
|
desktopLoginShell => \@dshell, |
|
|
|
|
preferredMail => \@preferredemail, |
|
|
|
|
businessCategory => \@category, |
|
|
|
|
labeledURI => \@web |
|
|
|
|
} |
|
|
|
|
); |
|
|
|
|