[Koha-bugs] [Bug 9823] Code optimization: Change prototype of GetReservesFromBiblionumber

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 15 13:49:26 CET 2013


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

--- Comment #1 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 16162
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16162&action=edit
Bug 9823: Code optimization: Change prototype of GetReservesFromBiblionumber

The prototype of the GetReservesFromBiblionumber routine is quite weird.

It is useless to return the number of reserves and an array containing
reserves.
The $count variable can be calculate with scalar(@$reserves).

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


More information about the Koha-bugs mailing list