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

(-)a/ill/ill-requests.pl (-1 / +1 lines)
Lines 410-416 if ( $backends_available ) { Link Here
410
            }
410
            }
411
        }
411
        }
412
412
413
        $template->param( table_actions => encode_json( Koha::Illrequest->get_staff_table_actions ) );
413
        $template->param( table_actions => encode_json( Koha::ILL::Request->get_staff_table_actions ) );
414
    } elsif ( $op eq "save_comment" ) {
414
    } elsif ( $op eq "save_comment" ) {
415
        die "Wrong CSRF token" unless Koha::Token->new->check_csrf({
415
        die "Wrong CSRF token" unless Koha::Token->new->check_csrf({
416
           session_id => scalar $cgi->cookie('CGISESSID'),
416
           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