|
Lines 66-72
if ($to_address) {
Link Here
|
| 66 |
); |
66 |
); |
| 67 |
|
67 |
|
| 68 |
my $shelf = Koha::Virtualshelves->find( $shelfid ); |
68 |
my $shelf = Koha::Virtualshelves->find( $shelfid ); |
| 69 |
my $contents = $shelf->get_contents; |
69 |
my $contents; |
|
|
70 |
if( $shelf && $shelf->can_be_viewed($borrowernumber) ) { |
| 71 |
$contents = $shelf->get_contents; |
| 72 |
} else { |
| 73 |
$template->param( error => 1, email => $to_address ); |
| 74 |
output_html_with_http_headers $query, $cookie, $template->output; |
| 75 |
exit; |
| 76 |
} |
| 77 |
|
| 70 |
my $marcflavour = C4::Context->preference('marcflavour'); |
78 |
my $marcflavour = C4::Context->preference('marcflavour'); |
| 71 |
my $iso2709; |
79 |
my $iso2709; |
| 72 |
my @results; |
80 |
my @results; |
| 73 |
- |
|
|