http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6079 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@biblibre.co | |m --- Comment #2 from Jonathan Druart <jonathan.druart@biblibre.com> --- Should be fixed with the following patch: diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm index 0bb34c6..320169a 100644 --- a/C4/Acquisition.pm +++ b/C4/Acquisition.pm @@ -1269,7 +1269,7 @@ sub ModOrder { foreach my $orderinfokey (grep(!/ordernumber/, keys %$orderinfo)){ # ... and skip hash entries that are not in the aqorders table # FIXME : probably not the best way to do it (would be better to have a correct hash) - next unless grep(/^$orderinfokey$/, @$colnames); + next unless grep(/^\Q$orderinfokey\E$/, @$colnames); $query .= "$orderinfokey=?, "; push(@params, $orderinfo->{$orderinfokey}); } But not sure of the consequences... -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. You are watching all bug changes.