[Koha-bugs] [Bug 26604] "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:24:25 CEST 2020


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #111167|0                           |1
        is obsolete|                            |

--- Comment #3 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 111168
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=111168&action=edit
Bug 26604: "Generate next" button gives error on serials-collection.pl

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 watching all bug changes.


More information about the Koha-bugs mailing list