From bf1c25175f0e36b39e720083c27a5263d5266d94 Mon Sep 17 00:00:00 2001 From: Magnus Enger Date: Thu, 2 Jun 2011 21:36:14 +0200 Subject: [PATCH 2/2] Bug 6450 - No check in/check out messages in message_queue Huge thanks to Katrin Fischer for spotting what was the trouble here! --- C4/Circulation.pm | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 9a2db4c..6cca9e9 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2613,8 +2613,8 @@ sub SendCirculationAlert { my ($type, $item, $borrower, $branch) = ($opts->{type}, $opts->{item}, $opts->{borrower}, $opts->{branch}); my %message_name = ( - CHECKIN => 'Item Check-in', - CHECKOUT => 'Item Checkout', + CHECKIN => 'Item_Check_in', + CHECKOUT => 'Item_Checkout', ); my $borrower_preferences = C4::Members::Messaging::GetMessagingPreferences({ borrowernumber => $borrower->{borrowernumber}, -- 1.7.4.1