From 043e81817679114c7a804a14dfff1b1cdce721b6 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 Signed-off-by: Tomas Cohen Arazi --- suggestion/suggestion.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/suggestion/suggestion.pl b/suggestion/suggestion.pl index 3a5b673b16..36a9f063af 100755 --- a/suggestion/suggestion.pl +++ b/suggestion/suggestion.pl @@ -99,6 +99,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.39.5