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.campb...@ptfs-europe.com
        ReportedBy: colin.campb...@ptfs-europe.com
         QAContact: koha-bugs@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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