Bug 36816: Remove warning
Use of uninitialized value in string eq at /kohadevbox/koha/opac/opac-memberentry.pl line 629.
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 98637f17a7)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
eecf63c717
commit
316bcd3962
|
|
@ -630,11 +630,11 @@ sub FilterUnchangedAttributes {
|
|||
|
||||
# Loop through the current patron attributes
|
||||
foreach my $attribute_type ( keys %{ $patron_attribute_types } ) {
|
||||
if ( $patron_attribute_types->{ $attribute_type } != $passed_attribute_types->{ $attribute_type } ) {
|
||||
if ( ( $patron_attribute_types->{$attribute_type} // q{} ) ne ( $passed_attribute_types->{$attribute_type} // q{} ) ) {
|
||||
# count differs, overwrite all attributes for given type
|
||||
foreach my $attr (@{ $entered_attributes }) {
|
||||
foreach my $attr ( @{$entered_attributes} ) {
|
||||
push @changed_attributes, $attr
|
||||
if $attr->{ code } eq $attribute_type;
|
||||
if $attr->{code} eq $attribute_type;
|
||||
}
|
||||
} else {
|
||||
# count matches, check values
|
||||
|
|
|
|||
Loading…
Reference in New Issue