Bug 22990: (follow-up) Fix suggestion.pl

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Martin Renvoize 2023-07-13 10:40:38 +01:00 committed by Tomas Cohen Arazi
parent 75d66cd266
commit 043e818176
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -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;