[Koha-patches] [PATCH 2/2] Bug 6450 - No check in/check out messages in message_queue

Magnus Enger magnus at enger.priv.no
Thu Jun 2 21:37:40 CEST 2011


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



More information about the Koha-patches mailing list