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

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 7874
          Assignee: [email protected]
           Summary: Templates::get_language generates lots of not defined
                    warnings
        QA Contact: [email protected]
          Severity: minor
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: All
            Status: NEW
           Version: master
         Component: Architecture, internals, and plumbing
           Product: Koha

Was trying to track another error and found the get_languages routine in
C4::Templates was giving lots of not defined errors in the logs. Looking closer
found that the routine has obviously grown by accretion and was a) not always
too clear in its intention b) was carelessly using undefined values c) was
actually passing undef to other routines so they could in turn log warnings and
return undef - only a few cycles wasted but it is a routine that could be
called freqently. 
Have refactored the routine to address these concerns

-- 
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