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

(-)a/opac/opac-library.pl (-2 / +1 lines)
Lines 40-46 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
40
my $found;
40
my $found;
41
if ($branchcode) {
41
if ($branchcode) {
42
    my $library = Koha::Libraries->find($branchcode);
42
    my $library = Koha::Libraries->find($branchcode);
43
    if ( $library->public ) {
43
    if ( $library && $library->public ) {
44
        $found++;
44
        $found++;
45
        $template->param( library => $library );
45
        $template->param( library => $library );
46
    }
46
    }
47
- 

Return to bug 27360