[Koha-bugs] [Bug 9454] NewBasket does not use placeholders in sql

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 1 16:49:17 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9454

--- Comment #4 from Colin Campbell <colin.campbell at ptfs-europe.com> ---

> The original code says: if a variable ($basketcontractnumber, $deliveryplace
> or $billingplace) is equal to 0 or an empty string, we call ModBasketHeader
> with an undefined value.
> 
> If someone calls the routine with "", we want to insert undef, not ""

The only call of the routine in basketheader.pl already forces
basketcontractnumber to undef in these conditions and this would seem the
appropriate place to validate inputs.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list