[Koha-bugs] [Bug 26604] New: "Generate next" button gives error on serials-collection.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 2 18:10:49 CEST 2020


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

            Bug ID: 26604
           Summary: "Generate next" button gives error on
                    serials-collection.pl
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Serials
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: kyle at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: colin.campbell at ptfs-europe.com

In serials-collection.pl, the line

$frequency =
C4::Serials::Frequency::GetSubscriptionFrequency($subscription->{periodicity});

causes the error

Can't use string ("13") as a HASH ref while "strict refs" in use at
/usr/share/koha/lib/C4/Serials.pm line 2198.

This function call makes no sense, that subroutine always returns a list and
doesn't take any parameters. I think it was meant to be
GetSubscriptionFrequency which is in fact already called a few lines down.

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