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

(-)a/opac/opac-sendbasket.pl (-2 / +2 lines)
Lines 192-204 END_OF_BODY Link Here
192
    output_html_with_http_headers $query, $cookie, $template->output;
192
    output_html_with_http_headers $query, $cookie, $template->output;
193
}
193
}
194
else {
194
else {
195
    my $new_session_id = $cookie->value;
195
    $template->param(
196
    $template->param(
196
        bib_list       => $bib_list,
197
        bib_list       => $bib_list,
197
        url            => "/cgi-bin/koha/opac-sendbasket.pl",
198
        url            => "/cgi-bin/koha/opac-sendbasket.pl",
198
        suggestion     => C4::Context->preference("suggestion"),
199
        suggestion     => C4::Context->preference("suggestion"),
199
        virtualshelves => C4::Context->preference("virtualshelves"),
200
        virtualshelves => C4::Context->preference("virtualshelves"),
200
        csrf_token => Koha::Token->new->generate_csrf(
201
        csrf_token => Koha::Token->new->generate_csrf(
201
            { session_id => scalar $query->cookie('CGISESSID'), } ),
202
            { session_id => $new_session_id, } ),
202
    );
203
    );
203
    output_html_with_http_headers $query, $cookie, $template->output;
204
    output_html_with_http_headers $query, $cookie, $template->output;
204
}
205
}
205
- 

Return to bug 18975