[Koha-bugs] [Bug 26438] New: Follow up to bug 23463 - return from Koha::Item overwrites existing variable

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 11 19:11:09 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26438

            Bug ID: 26438
           Summary: Follow up to bug 23463 - return from Koha::Item
                    overwrites existing variable
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Acquisitions
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: colin.campbell at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org

The added calls to Koha::Item use a temporary variable called $item to store
their return this hides the existing variable $item which is the lineitem being
processed. Calling lineitem methods on it causes an error

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


More information about the Koha-bugs mailing list