Lines 66-72
my ( $template, $borrowernumber, $cookie, @messages );
Link Here
|
66 |
my $deleted = $input->param('deleted'); |
66 |
my $deleted = $input->param('deleted'); |
67 |
my $submitted = $input->param('submitted'); |
67 |
my $submitted = $input->param('submitted'); |
68 |
|
68 |
|
69 |
if ( C4::Context->preference("AnonSuggestions") or ( C4::Context->preference("OPACViewOthersSuggestions") and $op eq 'else' ) ) { |
69 |
if ( ( C4::Context->preference("AnonSuggestions") and Koha::Patrons->find( C4::Context->preference("AnonymousPatron") ) ) or ( C4::Context->preference("OPACViewOthersSuggestions") and $op eq 'else' ) ) { |
70 |
( $template, $borrowernumber, $cookie ) = get_template_and_user( |
70 |
( $template, $borrowernumber, $cookie ) = get_template_and_user( |
71 |
{ |
71 |
{ |
72 |
template_name => "opac-suggestions.tt", |
72 |
template_name => "opac-suggestions.tt", |
73 |
- |
|
|