[Koha-bugs] [Bug 13775] software error when choosing authority via plugin

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 20 11:06:33 CEST 2015


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

--- Comment #4 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Debug: It's because the field 148 is not filled

# If 148 is not set, @fields = ();
 82     my @fields = $record->field( $auth_type->{auth_tag_to_report} );
# Repet is never set, so $repet = 0
 83     my $repet = ($query->param('repet') || 1) - 1;
 84     my $field = $fields[$repet];
 85     
 86     # Get all values for each distinct subfield
 87     my %subfields;
if 148 is not set, boom here
 88     for ( $field->subfields ) {

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


More information about the Koha-bugs mailing list