http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6079
Jonathan Druart <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] | |m --- Comment #2 from Jonathan Druart <[email protected]> --- 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. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
