[Koha-bugs] [Bug 6280] Invalid SQL being passed in circulation checkout
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Aug 10 15:00:53 CEST 2011
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6280
Paul Poulain <paul.poulain at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #4438|0 |1
is obsolete| |
--- Comment #6 from Paul Poulain <paul.poulain at biblibre.com> 2011-08-10 13:00:53 UTC ---
Created attachment 4935
--> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=4935
proposed patch (passed QA)
QA comment
* works as announced, usefull patch, logs will thank you forever ;-)
* Just a minor comment/suggestion. You write:
+if ( @borrowernumbers ) {
+ $relissue = GetPendingIssues(@borrowernumbers);
+}
It's correct although it's more perlish to have :
$relissue = GetPendingIssues(@borrowernumbers) if @borrowernumbers;
I agree with the change
- ($_->{date_due} lt $today) and $_->{overdue} = 1;
to
+ if ($_->{date_due} and $_->{date_due} lt $today) {
+ $_->{overdue} = 1;
+ }
(we must be Perlish, but sometimes that result in really cryptic things...)
passed QA
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
More information about the Koha-bugs
mailing list