diff --git a/ipasserelle-base.spec b/ipasserelle-base.spec index 99123ef..1e7835e 100644 --- a/ipasserelle-base.spec +++ b/ipasserelle-base.spec @@ -1,5 +1,5 @@ %define version 0.2.6 -%define release 1.beta1 +%define release 1.beta2 %define name ipasserelle-base diff --git a/root/etc/e-smith/events/actions/ldap-update-info b/root/etc/e-smith/events/actions/ldap-update-info index e2a514a..1cfd44c 100644 --- a/root/etc/e-smith/events/actions/ldap-update-info +++ b/root/etc/e-smith/events/actions/ldap-update-info @@ -77,8 +77,9 @@ foreach my $acc (@accounts){ @mobile = ($mobile) unless ($mobile eq ''); @extension = ($extension) unless ($extension eq ''); @fax = ($fax) unless ($fax eq ''); - @titles = qw($function1 $function2 $function3 $function4) - unless ($function1 eq '' && $function2 eq '' && $function3 eq '' && $function4 eq ''); + foreach ($function1, $function2, $function3, $function4){ + push @titles, $_ if ($_ ne ''); + } @dshell = ($dshell) unless ($dshell eq ''); @preferredemail = ($preferredemail) unless ($preferredemail eq ''); @web = ($web) unless ($web eq '');