]> git.koha-community.org Git - koha.git/commit
Bug 31373: DRY - Use try/catch around _process_tt
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 18 Aug 2022 16:21:31 +0000 (17:21 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 16 Sep 2022 14:03:04 +0000 (11:03 -0300)
commitd5dc514f9326c42b3fce89d229442295a039b2b1
tree76c96a928b7c75402261d64a60ccc60a847bf377
parent3df1672eb382b958e8febab1d722a1fc94d5a8c6
Bug 31373: DRY - Use try/catch around _process_tt

This patch reduces the repetition in the tools/letter.pl controller
replaceing it with a try/catch block wrapping a call to
C4::Letters::_process_tt instead.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Letters.pm
tools/letter.pl