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

(-)a/catalogue/search.pl (-2 / +2 lines)
Lines 668-674 for (my $i=0;$i<@servers;$i++) { Link Here
668
                }
668
                }
669
669
670
                if ( C4::Context->preference('LocalCoverImages') ) {
670
                if ( C4::Context->preference('LocalCoverImages') ) {
671
                    $line->{has_local_cover_image} = $line->{biblio_object}->cover_images->count;
671
                    $line->{has_local_cover_image} =
672
                        $line->{biblio_object} ? $line->{biblio_object}->cover_images->count : 0;
672
                }
673
                }
673
            }
674
            }
674
            my( $page_numbers, $hits_to_paginate, $pages, $current_page_number, $previous_page_offset, $next_page_offset, $last_page_offset ) =
675
            my( $page_numbers, $hits_to_paginate, $pages, $current_page_number, $previous_page_offset, $next_page_offset, $last_page_offset ) =
675
- 

Return to bug 37425