[Koha-bugs] [Bug 6790] New: C4::Serials::getroutinglist returns unnecessary variable
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Aug 26 17:16:13 CEST 2011
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6790
Bug #: 6790
Summary: C4::Serials::getroutinglist returns unnecessary
variable
Classification: Unclassified
Change sponsored?: ---
Product: Koha
Version: master
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P5
Component: Serials
AssignedTo: colin.campbell at ptfs-europe.com
ReportedBy: colin.campbell at ptfs-europe.com
QAContact: koha-bugs at lists.koha-community.org
The subroutine getroutinglist returns a "count" variable along with the array.
Not only is this unnecessary but it causes the routine to execute an
unnecessary
loop and results in some ugly, unidiomatic code in the calling cgi. Refactor
count away.
--
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