[Koha-bugs] [Bug 13526] Mandatory fields should not be able to be hidden in borrower self-registration

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 7 07:41:53 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13526

--- Comment #4 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 34991
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34991
Bug 13526 - Mandatory fields should not be able to be hidden in borrower
self-registration

Review of attachment 34991:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=13526&attachment=34991)
-----------------------------------------------------------------

::: opac/opac-memberentry.pl
@@ +235,5 @@
>      my $BorrowerUnwantedField =
>        C4::Context->preference("PatronSelfRegistrationBorrowerUnwantedField");
>  
> +    #Fetch the mandatory fields to compare against hidden fields
> +    my @mandatory_fields = keys %{GetMandatoryFields($action)};

The GetMandatoryFields function is already called on line 62. This calls it
again. Could this be optimized?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list