Bug 28487: Fallback to default template in overdue_notices
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 4 Jun 2021 10:19:18 +0000 (12:19 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 14 Jun 2021 15:35:19 +0000 (17:35 +0200)
commitdb35077e76245ac8527a343bed8c768f6a27755b
tree9ba004d4a5049985c41feb051bf36b47b5e13b05
parent01734a9ca38b698c449b967b2ceddc3153bf10a1
Bug 28487: Fallback to default template in overdue_notices

There is no fallback to the "default" language if there is no
language-specific template for the lang of the patron.

I am not really sure why we are not using GetPreparredLetter here (which
defaults), but this needs to be backported into all stable branches and
so as small as possible.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
misc/cronjobs/overdue_notices.pl