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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 18 13:32:11 CET 2013


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

Jonathan Druart <jonathan.druart at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #16162|0                           |1
        is obsolete|                            |

--- Comment #3 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 16236
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16236&action=edit
Bug 9823: Refactor return from GetReservesFromBiblionumber as prototypes are
not involved

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 watching all bug changes.


More information about the Koha-bugs mailing list