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

(-)a/C4/Search.pm (-2 / +1 lines)
Lines 1900-1906 sub searchResults { Link Here
1900
    my ($bibliotag,$bibliosubf)=GetMarcFromKohaField('biblio.biblionumber','');
1900
    my ($bibliotag,$bibliosubf)=GetMarcFromKohaField('biblio.biblionumber','');
1901
1901
1902
    # set stuff for XSLT processing here once, not later again for every record we retrieved
1902
    # set stuff for XSLT processing here once, not later again for every record we retrieved
1903
    my $interface = $search_context eq 'opac' ? 'OPAC' : '';
1903
    my $interface = $is_opac ? 'OPAC' : '';
1904
    my $xslsyspref = $interface . "XSLTResultsDisplay";
1904
    my $xslsyspref = $interface . "XSLTResultsDisplay";
1905
    my $xslfile = C4::Context->preference($xslsyspref);
1905
    my $xslfile = C4::Context->preference($xslsyspref);
1906
    my $lang   = $xslfile ? C4::Languages::getlanguage()  : undef;
1906
    my $lang   = $xslfile ? C4::Languages::getlanguage()  : undef;
1907
- 

Return to bug 14385