[Koha-bugs] [Bug 20276] New: GetCourseItem is using the wrong call to get itemnumber

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 22 20:01:45 CET 2018


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

            Bug ID: 20276
           Summary: GetCourseItem is using the wrong call  to get
                    itemnumber
 Change sponsored?: ---
           Product: Koha
           Version: 17.05
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Course reserves
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

In course_reserves/add_items.pl we now get the item via Objects

This line:
 66     my $course_item = GetCourseItem( itemnumber => $item->{'itemnumber'} );
Should be:
 66     my $course_item = GetCourseItem( itemnumber => $item->itemnumber );

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


More information about the Koha-bugs mailing list