From 7e878d42a0039a176b63681b6593013c36c126c6 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 23 Apr 2014 16:48:54 +0200 Subject: [PATCH] Bug 10845: (follow-up) add the MTT in the die message If no template is defined for the HOLD letter and the needed MTT, we should display the MTT. Signed-off-by: Galen Charlton --- C4/Reserves.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Reserves.pm b/C4/Reserves.pm index 6c06e2c54a..339621b267 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -1930,7 +1930,7 @@ sub _koha_notify_reserve { $letter_params{letter_code} = $letter_code; $letter_params{message_transport_type} = $mtt; my $letter = C4::Letters::GetPreparedLetter ( %letter_params ) - or die "Could not find a letter called '$letter_params{'letter_code'}' in the 'reserves' module"; + or die "Could not find a letter called '$letter_params{'letter_code'}' for $mtt in the 'reserves' module"; C4::Letters::EnqueueLetter( { letter => $letter, -- 2.39.5