Lines 54-59
use Koha::Items;
Link Here
|
54 |
use Koha::SearchEngine; |
54 |
use Koha::SearchEngine; |
55 |
use Koha::SearchEngine::Search; |
55 |
use Koha::SearchEngine::Search; |
56 |
use Koha::Patron::Modifications; |
56 |
use Koha::Patron::Modifications; |
|
|
57 |
use Koha::Token; |
57 |
|
58 |
|
58 |
use List::MoreUtils qw( uniq ); |
59 |
use List::MoreUtils qw( uniq ); |
59 |
|
60 |
|
Lines 636-639
$template->param(
Link Here
|
636 |
logged_in_user => $logged_in_user, |
637 |
logged_in_user => $logged_in_user, |
637 |
); |
638 |
); |
638 |
|
639 |
|
|
|
640 |
# Generate CSRF token for upload and delete image buttons |
641 |
$template->param( |
642 |
csrf_token => Koha::Token->new->generate_csrf({ session_id => $query->cookie('CGISESSID'),}), |
643 |
); |
644 |
|
639 |
output_html_with_http_headers $query, $cookie, $template->output; |
645 |
output_html_with_http_headers $query, $cookie, $template->output; |
640 |
- |
|
|