Bug 22990: (follow-up) Fix suggestion.pl
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
75d66cd266
commit
043e818176
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue