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

(-)a/opac/opac-search.pl (-2 / +1 lines)
Lines 691-697 for (my $i=0;$i<@servers;$i++) { Link Here
691
691
692
            if (C4::Context->preference('COinSinOPACResults')) {
692
            if (C4::Context->preference('COinSinOPACResults')) {
693
                my $biblio = Koha::Biblios->find( $res->{'biblionumber'} );
693
                my $biblio = Koha::Biblios->find( $res->{'biblionumber'} );
694
                $res->{coins} = $biblio->get_coins;
694
                $res->{coins} = $biblio ? $biblio->get_coins : q{}; # FIXME This should be moved at the beginning of the @newresults loop
695
            }
695
            }
696
            if ( C4::Context->preference( "Babeltheque" ) and $res->{normalized_isbn} ) {
696
            if ( C4::Context->preference( "Babeltheque" ) and $res->{normalized_isbn} ) {
697
                if( my $isbn = Business::ISBN->new( $res->{normalized_isbn} ) ) {
697
                if( my $isbn = Business::ISBN->new( $res->{normalized_isbn} ) ) {
698
- 

Return to bug 23785