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

            Bug ID: 28487
           Summary: Overdue_notices does not fall back to default language
 Change sponsored?: ---
           Product: Koha
           Version: 20.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Notices
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

Previously overdue_notices use exclusively the default language but bug 26420
changed this to the opposite, which is to use exclusively the language chosen
by the user.

But if no translation have been provided for the chosen language, no message is
sent.

I would expect the behavior to be the same as in GetPreparedLetter:

        $letter = getletter( $module, $letter_code, $branchcode, $mtt, $lang );

        unless ( $letter ) {
            $letter = getletter( $module, $letter_code, $branchcode, $mtt,
'default' )
                or warn( "No $module $letter_code letter transported by " .
$mtt ),
                    return;
        }

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to