Bug 6450 - No check in/check out messages in message_queue
authorMagnus Enger <magnus@enger.priv.no>
Thu, 2 Jun 2011 19:36:14 +0000 (21:36 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Sat, 2 Jul 2011 20:55:49 +0000 (08:55 +1200)
Huge thanks to Katrin Fischer for spotting what was the trouble here!

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
C4/Circulation.pm

index 5efd090..179fe70 100644 (file)
@@ -2614,8 +2614,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},