X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=authorities%2Fdetail.pl;h=38af541a9b58d99a939a0cabc50dbb65fa46e23e;hb=d2ee53fb5f90277d47fc56667e71018f5d9b88a9;hp=1ba280d38a202630d1708732fdd1d29584cbf2f8;hpb=5a7dc0749f581e4c4bc6ec68d3f3ab6bac12afd5;p=koha.git diff --git a/authorities/detail.pl b/authorities/detail.pl index 1ba280d38a..38af541a9b 100755 --- a/authorities/detail.pl +++ b/authorities/detail.pl @@ -50,6 +50,7 @@ use C4::Koha; use Koha::Authorities; use Koha::Authority::Types; +use Koha::Token; our ($tagslib); @@ -219,6 +220,7 @@ $template->param( authtypetext => $authority_types->find($authtypecode)->authtypetext, authtypecode => $authtypecode, authority_types => $authority_types, + csrf_token => Koha::Token->new->generate_csrf({ session_id => scalar $query->cookie('CGISESSID') }), ); $template->{VARS}->{marcflavour} = C4::Context->preference("marcflavour");