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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 18 Jun 2021 12:40:02 +0000 (08:40 -0400)
commit09fcc66ab89dd2c084dfe20d4b4dc43a5335b86a
tree3e57bd04779fa949b82c5fa7fc03a0f63a7b6aaf
parent58b5c6e04acdc3bd35630920ad661190eeca65ab
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
misc/cronjobs/overdue_notices.pl