[Koha-bugs] [Bug 19315] Routing preview may use wrong biblionumber

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 27 12:58:25 CEST 2017


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

Fridolin SOMERS <fridolin.somers at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fridolin.somers at biblibre.co
                   |                            |m

--- Comment #10 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
I test for 17.05.x :

With patches applied.
I have create a subscription without branch nor items.
Printing a routing list for this serial returns an error :
    Can't call method "branchname" on an undefined value at
/home/koha/src/serials/routing-preview.pl line 71.

Maybe $branch should be tested : 
  - my $branchname = Koha::Libraries->find($branch)->branchname;
  + my $branchname = Koha::Libraries->find($branch)->branchname if $branch;

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


More information about the Koha-bugs mailing list