[Koha-bugs] [Bug 27660] Should getletter not use the fallback to default ?

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 9 16:57:25 CET 2021


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

--- Comment #5 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jonathan Druart from comment #4)
> It's handled in GetPreparredLetter
> 
>  638         $letter = getletter( $module, $letter_code, $branchcode, $mtt,
> $lang );
>  639 
>  640         unless ( $letter ) {
>  641             $letter = getletter( $module, $letter_code, $branchcode,
> $mtt, 'default' )
>  642                 or warn( "No $module $letter_code letter transported by
> " . $mtt ),
>  643                     return;
>  644         }

Ah. Thats good. Didnt test it on master ;) Thx.
Will have to check if there are other callers to getletter that dont do the
same thing?
And if this change in GetPreparedLetter came together in older versions..

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