Bug 4978

Summary: Longoverdues.pl claims undefined subroutine ModItem
Product: Koha Reporter: Ian Walls <koha.sekjal>
Component: Command-line UtilitiesAssignee: Galen Charlton <gmcharlt>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: normal    
Priority: P5 - low    
Version: rel_3_2   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: patch for bug 4978

Description Ian Walls 2010-07-08 20:12:59 UTC
Longoverdue returns this error rather than executing (when --confirm flag is used)

14565  /  139596  at /home/koha/kohaclone/C4/Accounts.pm line 320.
Undefined subroutine &C4::Accounts::ModItem called at /home/koha/kohaclone/C4/Accounts.pm line 323.

Seems to be assuming that ModItem is in C4::Accounts; must require explicit declaration of C4::Items
Comment 1 Ian Walls 2010-07-08 20:23:18 UTC
Created attachment 2334 [details] [review]
patch for bug 4978
Comment 2 Galen Charlton 2010-07-08 22:44:02 UTC
Patch pushed.  Please test and close.
Comment 3 Ian Walls 2010-09-17 18:16:54 UTC
Tested fix over the last several months, no recurrences found.  Closing