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

(-)a/ill/ill-requests.pl (-1 / +1 lines)
Lines 425-431 if ( $backends_available ) { Link Here
425
            }
425
            }
426
        }
426
        }
427
427
428
        $template->param( table_actions => encode_json( Koha::Illrequest->get_staff_table_actions ) );
428
        $template->param( table_actions => encode_json( Koha::ILL::Request->get_staff_table_actions ) );
429
    } elsif ( $op eq "save_comment" ) {
429
    } elsif ( $op eq "save_comment" ) {
430
        die "Wrong CSRF token" unless Koha::Token->new->check_csrf({
430
        die "Wrong CSRF token" unless Koha::Token->new->check_csrf({
431
           session_id => scalar $cgi->cookie('CGISESSID'),
431
           session_id => scalar $cgi->cookie('CGISESSID'),
(-)a/members/ill-requests.pl (-1 / +1 lines)
Lines 46-52 $template->param( Link Here
46
    prefilters    => "borrowernumber=$borrowernumber",
46
    prefilters    => "borrowernumber=$borrowernumber",
47
    patron        => $patron,
47
    patron        => $patron,
48
    illview       => 1,
48
    illview       => 1,
49
    table_actions => encode_json( Koha::Illrequest->get_staff_table_actions ),
49
    table_actions => encode_json( Koha::ILL::Request->get_staff_table_actions ),
50
);
50
);
51
51
52
output_html_with_http_headers $input, $cookie, $template->output;
52
output_html_with_http_headers $input, $cookie, $template->output;
(-)a/t/db_dependent/Koha/Plugins/Ill_hooks.t (-2 / +1 lines)
Lines 47-53 subtest 'ill_table_actions hook' => sub { Link Here
47
    my $plugins = Koha::Plugins->new;
47
    my $plugins = Koha::Plugins->new;
48
    $plugins->InstallPlugins;
48
    $plugins->InstallPlugins;
49
49
50
    my $table_actions = Koha::Illrequest->get_staff_table_actions;
50
    my $table_actions = Koha::ILL::Request->get_staff_table_actions;
51
51
52
    is_deeply(
52
    is_deeply(
53
        $table_actions,
53
        $table_actions,
54
- 

Return to bug 35581