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

--- Comment #1 from kenza <[email protected]> ---
Created attachment 20690
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20690&action=edit
Bug 10795 - Improvements for GetOpenIssue in C4::Circulation

This patch adds some improvements for the routine GetOpenIssue.
Now, it verifies if the parameter is given (if not it returns undef) and it
returns $sth->fetchrow_hashref() instead of a $issue.

To test:
prove t/db_dependent/Circulation_issue.t
t/db_dependent/Circulation_issue.t .. ok
All tests successful.
Files=1, Tests=16,  2 wallclock secs ( 0.06 usr  0.01 sys +  1.09 cusr  0.07
csys =  1.23 CPU)
Result: PASS

-- 
You are receiving this mail because:
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/

Reply via email to