diff --git a/admin/systempreferences.pl b/admin/systempreferences.pl index 816714034d..4561ba6578 100755 --- a/admin/systempreferences.pl +++ b/admin/systempreferences.pl @@ -352,6 +352,7 @@ if ( $op eq 'add_form' ) { } elsif ( $op eq 'cud-delete_confirmed' ) { output_and_exit_if_error($input, $cookie, $template, { check => 'csrf_token' }); C4::Context->delete_preference($searchfield); + $template->param( delete_confirmed => 1 ); # END $OP eq DELETE_CONFIRMED ################## DEFAULT ################################## } else { # DEFAULT diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt index 14efa17638..302c7e0148 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt @@ -289,8 +289,7 @@ -
- [% INCLUDE 'csrf-token.inc' %] +
@@ -299,8 +298,7 @@ [% IF ( delete_confirmed ) %]

Data deleted

-
- [% INCLUDE 'csrf-token.inc' %] +