Hi,

An user of intranet ask me why there is two "E-mail (home):" input
in /koha/members/memberentry.pl.
After reading the code, only one of the three e-mail adresses asked in
this form is saved :
"
elsif ($newdata{email} =~ /[EMAIL PROTECTED]/) {
   $emailaddr = $newdata{email} 
}
elsif ($newdata{emailpro} =~ /[EMAIL PROTECTED]/) {
   $emailaddr = $newdata{emailpro} 
}
elsif ($newdata{B_email} =~ /[EMAIL PROTECTED]/) {
   $emailaddr = $newdata{B_email} 
}
"

Can you tell me why 3 e-mails are asked(with a duplicate input) and
only one is saved?
Why there is no asked only one e-mail? The member can choose which one
he want to give.

And there are more than one B_email input in the form (cf : Alternate
address).

I think it's strange to ask too much informations and keep only a bit.

Regards,
--
Nahuel ANGELINETTI
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha.org
http://lists.koha.org/mailman/listinfo/koha-devel

Reply via email to