Lines 243-250
sub GetHiddenFields {
Link Here
|
243 |
my ( $mandatory, $action ) = @_; |
243 |
my ( $mandatory, $action ) = @_; |
244 |
my %hidden_fields; |
244 |
my %hidden_fields; |
245 |
|
245 |
|
246 |
my $BorrowerUnwantedField = |
246 |
my $BorrowerUnwantedField = $action eq 'modification' ? |
247 |
C4::Context->preference( "PatronSelf" . ucfirst($action) . "BorrowerUnwantedField" ); |
247 |
C4::Context->preference( "PatronSelfModificationBorrowerUnwantedField" ) : |
|
|
248 |
C4::Context->preference( "PatronSelfRegistrationBorrowerUnwantedField" ); |
248 |
|
249 |
|
249 |
my @fields = split( /\|/, $BorrowerUnwantedField ); |
250 |
my @fields = split( /\|/, $BorrowerUnwantedField ); |
250 |
foreach (@fields) { |
251 |
foreach (@fields) { |
251 |
- |
|
|