diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/tables/shelves_results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/tables/shelves_results.tt index e37b39f966..1515fe8c04 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/tables/shelves_results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/tables/shelves_results.tt @@ -39,7 +39,6 @@ [%~ public = public | html ~%] [%~ IF can_manage_shelf ~%] [%~ action_block = '
' ~%] - [%~ action_block = BLOCK ~%][%~ action_block | $raw ~%][%~ INCLUDE 'csrf-token.inc' | trim ~%][%~ END ~%] [%~ action_block = action_block _ '' ~%] [%~ action_block = action_block _ '' ~%] [%~ action_block = action_block _ '' ~%] diff --git a/virtualshelves/shelves.pl b/virtualshelves/shelves.pl index cdc9f133fc..cea511232e 100755 --- a/virtualshelves/shelves.pl +++ b/virtualshelves/shelves.pl @@ -63,7 +63,6 @@ if ( $op eq 'add_form' ) { # Only pass default $shelf = { allow_change_from_owner => 1 }; } elsif ( $op eq 'edit_form' ) { - output_and_exit_if_error($query, $cookie, $template, { check => 'csrf_token' }); $shelfnumber = $query->param('shelfnumber'); $shelf = Koha::Virtualshelves->find($shelfnumber);