]> git.koha-community.org Git - koha.git/commit
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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 21 Jun 2021 12:38:06 +0000 (14:38 +0200)
commit0f9066903e64aa9eb6214beade0921962bd8d6db
treed7281028c31b4185f44949fbadf2c74cb6555c02
parentf562be51a8c4a15c34e8248968096bbc5a2994e6
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>
misc/cronjobs/overdue_notices.pl