Lines 547-561
if ($biblionumber) {
Link Here
|
547 |
|
547 |
|
548 |
$biblio = Koha::Biblios->find($biblionumber); |
548 |
$biblio = Koha::Biblios->find($biblionumber); |
549 |
|
549 |
|
550 |
unless ($biblio) { |
550 |
if ($biblio) { |
|
|
551 |
unless ( $biblio->can_be_edited($logged_in_patron) ) { |
552 |
print $input->redirect("/cgi-bin/koha/errors/403.pl"); # escape early |
553 |
exit; |
554 |
} |
555 |
} else { |
551 |
$biblionumber = undef; |
556 |
$biblionumber = undef; |
552 |
$template->param( bib_doesnt_exist => 1 ); |
557 |
$template->param( bib_doesnt_exist => 1 ); |
553 |
} |
558 |
} |
554 |
|
|
|
555 |
unless ( $biblio->can_be_edited($logged_in_patron) ) { |
556 |
print $input->redirect("/cgi-bin/koha/errors/403.pl"); # escape early |
557 |
exit; |
558 |
} |
559 |
} |
559 |
} |
560 |
|
560 |
|
561 |
if ($frameworkcode eq 'FA'){ |
561 |
if ($frameworkcode eq 'FA'){ |
562 |
- |
|
|