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

(-)a/C4/Biblio.pm (-2 / +4 lines)
Lines 716-722 sub LinkBibHeadingsToAuthorities { Link Here
716
                $memory_cache->get_from_cache( "LinkBibHeadingsToAuthorities:AuthorityType:" . $heading->auth_type() );
716
                $memory_cache->get_from_cache( "LinkBibHeadingsToAuthorities:AuthorityType:" . $heading->auth_type() );
717
            unless ($authority_type) {
717
            unless ($authority_type) {
718
                $authority_type = Koha::Authority::Types->find( $heading->auth_type() );
718
                $authority_type = Koha::Authority::Types->find( $heading->auth_type() );
719
                $memory_cache->set_in_cache( "LinkBibHeadingsToAuthorities:AuthorityType:" . $heading->auth_type() );
719
                $memory_cache->set_in_cache(
720
                    "LinkBibHeadingsToAuthorities:AuthorityType:" . $heading->auth_type(),
721
                    $authority_type
722
                );
720
            }
723
            }
721
            if ( defined $current_link
724
            if ( defined $current_link
722
                && (!$allowrelink || C4::Context->preference('LinkerKeepStale')) )
725
                && (!$allowrelink || C4::Context->preference('LinkerKeepStale')) )
723
- 

Return to bug 37349