View | Details | Raw Unified | Return to bug 15381
Collapse All | Expand All

(-)a/C4/AuthoritiesMarc.pm (-2 / +3 lines)
Lines 291-297 sub SearchAuthorities { Link Here
291
        my %newline;
291
        my %newline;
292
        $newline{authid} = $authid;
292
        $newline{authid} = $authid;
293
        if ( !$skipmetadata ) {
293
        if ( !$skipmetadata ) {
294
            my $auth_tag_to_report = Koha::Authority::Types->find($authtypecode)->auth_tag_to_report;
294
            my $auth_tag_to_report;
295
            $auth_tag_to_report = Koha::Authority::Types->find($authtypecode)->auth_tag_to_report
296
                if $authtypecode;
295
            my $reported_tag;
297
            my $reported_tag;
296
            my $mainentry = $authrecord->field($auth_tag_to_report);
298
            my $mainentry = $authrecord->field($auth_tag_to_report);
297
            if ($mainentry) {
299
            if ($mainentry) {
298
- 

Return to bug 15381