|
Lines 41-46
my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
Link Here
|
| 41 |
my $action = $cgi->param('action') || q{}; |
41 |
my $action = $cgi->param('action') || q{}; |
| 42 |
my $biblionumber = $cgi->param('biblionumber'); |
42 |
my $biblionumber = $cgi->param('biblionumber'); |
| 43 |
my $biblio = Koha::Biblios->find($biblionumber); |
43 |
my $biblio = Koha::Biblios->find($biblionumber); |
|
|
44 |
if( !$biblio ) { |
| 45 |
print $cgi->redirect("/cgi-bin/koha/errors/404.pl"); |
| 46 |
exit; |
| 47 |
} |
| 44 |
|
48 |
|
| 45 |
if ( $action eq 'create' ) { |
49 |
if ( $action eq 'create' ) { |
| 46 |
my $branchcode = $cgi->param('branchcode'); |
50 |
my $branchcode = $cgi->param('branchcode'); |