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

(-)a/opac/opac-suggestions.pl (-2 / +1 lines)
Lines 63-69 my ( $template, $borrowernumber, $cookie, @messages ); Link Here
63
my $deleted = $input->param('deleted');
63
my $deleted = $input->param('deleted');
64
my $submitted = $input->param('submitted');
64
my $submitted = $input->param('submitted');
65
65
66
if ( C4::Context->preference("AnonSuggestions") or ( C4::Context->preference("OPACViewOthersSuggestions") and $op eq 'else' ) ) {
66
if ( ( C4::Context->preference("AnonSuggestions") and Koha::Patrons->find( C4::Context->preference("AnonymousPatron") ) ) or ( C4::Context->preference("OPACViewOthersSuggestions") and $op eq 'else' ) ) {
67
    ( $template, $borrowernumber, $cookie ) = get_template_and_user(
67
    ( $template, $borrowernumber, $cookie ) = get_template_and_user(
68
        {
68
        {
69
            template_name   => "opac-suggestions.tt",
69
            template_name   => "opac-suggestions.tt",
70
- 

Return to bug 24327