From 8134cc1f057904a4d536fa2f3bb24624f76346b7 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 13 Jul 2023 10:40:38 +0100 Subject: [PATCH] Bug 22990: (follow-up) Fix suggestion.pl --- suggestion/suggestion.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/suggestion/suggestion.pl b/suggestion/suggestion.pl index ecf3f60f15..2f5a497e39 100755 --- a/suggestion/suggestion.pl +++ b/suggestion/suggestion.pl @@ -98,6 +98,7 @@ my $reasonsloop = GetAuthorisedValues("SUGGEST"); # filter informations which are not suggestion related. my $suggestion_ref = { %{$input->Vars} }; # Copying, otherwise $input will be modified +delete $suggestion_ref->{csrf_token}; # get only the columns of Suggestion my $schema = Koha::Database->new()->schema; -- 2.41.0