Lines 781-787
sub patron_attributes_form {
Link Here
|
781 |
}; |
781 |
}; |
782 |
if (exists $attr_hash{$attr_type->code()}) { |
782 |
if (exists $attr_hash{$attr_type->code()}) { |
783 |
foreach my $attr (@{ $attr_hash{$attr_type->code()} }) { |
783 |
foreach my $attr (@{ $attr_hash{$attr_type->code()} }) { |
784 |
my $newentry = { map { $_ => $entry->{$_} } %$entry }; |
784 |
my $newentry = { %$entry }; |
785 |
$newentry->{value} = $attr->{value}; |
785 |
$newentry->{value} = $attr->{value}; |
786 |
$newentry->{password} = $attr->{password}; |
786 |
$newentry->{password} = $attr->{password}; |
787 |
$newentry->{use_dropdown} = 0; |
787 |
$newentry->{use_dropdown} = 0; |
Lines 795-801
sub patron_attributes_form {
Link Here
|
795 |
} |
795 |
} |
796 |
} else { |
796 |
} else { |
797 |
$i++; |
797 |
$i++; |
798 |
my $newentry = { map { $_ => $entry->{$_} } %$entry }; |
798 |
my $newentry = { %$entry }; |
799 |
if ($attr_type->authorised_value_category()) { |
799 |
if ($attr_type->authorised_value_category()) { |
800 |
$newentry->{use_dropdown} = 1; |
800 |
$newentry->{use_dropdown} = 1; |
801 |
$newentry->{auth_val_loop} = GetAuthorisedValues($attr_type->authorised_value_category()); |
801 |
$newentry->{auth_val_loop} = GetAuthorisedValues($attr_type->authorised_value_category()); |
802 |
- |
|
|