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)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Tue, 22 Jun 2021 01:03:47 +0000 (03:03 +0200)
commitf67344e523817b8825ec9310cb813e32762e5c6e
tree4c50489d326ccf4bbef7b586df2f3d5ad9371487
parentf42e2194d7484fdd52155b43307b71248121ab62
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>
(cherry picked from commit 09fcc66ab89dd2c084dfe20d4b4dc43a5335b86a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 0f9066903e64aa9eb6214beade0921962bd8d6db)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
misc/cronjobs/overdue_notices.pl